Modal pop-up not working in Safari and Firefox

6 posts, 0 answers
  1. Steve
    Steve avatar
    11 posts
    Member since:
    Jul 2012

    Posted 01 Jun 2012 Link to this post

    Test Studio: 2012.1.518.0
    Windows Server 2008 R2 Datacenter Service Pack 1
    Internet Explorer: 9.0.8112.16421
    Firefox: 12.0
    Safari: 5.1.7 (7534.57.2)
    Chrome: 19.0.1084.52

    I've been debugging a failing test against our internal CMS where a step couldn't connect to a modal pop-up dialog. In the end I stripped the test right down and eventually tested a public facing website.

    My test contains 4 steps:
    - Navigate to http://www.codestore.net/store.nsf/unid/DOMM-4R5MDQ
    - Click 'ThisLinkLink'
    - Connect to modal pop-up window : A Modal Pop-Up -- Webpage Dialog
    - Close modal pop-up window : A Modal Pop-up -- Webpage Dialog

    I'm testing each browser individually using Quick Execution.

    Both Firefox and Safari fail on step 3 and the test stops, even if I set the PopupWaitTimeout property to 60 secs.

    If possible I'd like a solution which doesn't involve writing code because non-developers will be writing most of our tests.

    Cheers,
    Steve
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 04 Jun 2012 Link to this post

    Hello Steve,

    Thank you for providing a public site to reproduce the issue.

    In order to make this to work in Safari please take the following steps:
    1. Check the IsUrlPartial checkbox
    2. Change the PopupUrl property from:
    http://www.codestore.net/store.nsf/unid/9F0D8552077A408686256999005AC70D/$file/simple.html
    to:
    http://www.codestore.net/store.nsf/unid/

    3. Change the ModalPopupPartialCaption from:
    "A Modal Pop-Up -- Webpage Dialog"
    to:
    "A Modal Pop-Up"
    (see screenshot).

    Unfortunately, the issue with Firefox turns out to be a bug. I logged it in our PITS system and you can track its progress and vote for it here: Public URL. Since there is currently no workaround, we'll do our best to fix this ASAP.

    I have updated your Telerik points for the caused inconvenience.

    All the best,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Steve
    Steve avatar
    11 posts
    Member since:
    Jul 2012

    Posted 10 Jul 2012 Link to this post

    Hi Plamen -

    Any news about this bug in Firefox?

    We have 3 days of trial left and it's a deal breaker for us.

    Thanks,
    Steve
  4. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 10 Jul 2012 Link to this post

    Hello Steve,

    We are still working on this, but we were able to find a workarounfd for you to use in the meantime. In order to complete the test for all browsers please take the following steps:

    1. Increase PopupWaitTimeout to 15s.
    2. Change pop-up url to http://www.codestore.net/store.nsf/
    3. Change ModalPopupPartialCaption to "A Modal Pop-Up".

    Regards,

    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  5. Steve
    Steve avatar
    11 posts
    Member since:
    Jul 2012

    Posted 10 Jul 2012 Link to this post

    I've tried this but it doesn't work for me cross browser.

    If I change the ModalPopupPartialCaption to "A Modal Pop-Up", the test fails in IE9 as it can't connect.

    If ModalPopupPartialCaption is "A Modal Pop-Up -- Webpage Dialog" it works in IE9, Chrome and Safari, but not in Firefox.

    Could you please post a project I can try with 1 test which demonstrates that this works cross browser without writing any code?

    Thanks,
    Steve
  6. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 11 Jul 2012 Link to this post

    Hello Steve,

    We have prepared a private build for you containing the fix. You can download it from here:
    https://www.dropbox.com/s/cz5ma7vlmx1g1f2/Telerik.TestStudio.2012.1.711_Trial.msi

    Upgrade your Test Studio version to that build and follow the steps from my previous post. The test is also attached, but you'll be able to open it after installing the build.

    Greetings,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top