Problem when starting the test

9 posts, 0 answers
  1. tony G
    tony G avatar
    5 posts
    Member since:
    Dec 2009

    Posted 02 Jul 2010 Link to this post

    I have problem during running recorded test in WebUi Test Studio QA Edition. When I running previously recorded test after executing few steps i get following message: "Are you sure you want to navigate away from this page? Leaving or refreshing this page can result in date loss. Press OK to continue, or Cancel to stay on the current page."
    This message doesn't appear during recording test, but always appears after running tests. Does somebody know how to avoid appearing of this message? This message appears when user reload current page or want to close tab or browser, but I didn't do any of these two actions during recording test.

    Thanks in advance...

    Tony

  2. Missing user
    Missing user avatar

    Posted 02 Jul 2010 Link to this post

    Hi Tony,

    Thanks for the post and screenshot. I've seen this typically when a test is run and the browser is closed without the test doing an explicit log out or save for the information filled out during the test run.

    Could you try recording the log off or save sequence in the test to see if the dialog is still thrown?

    Regards,
    Nelson Sin
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. tony G
    tony G avatar
    5 posts
    Member since:
    Dec 2009

    Posted 05 Jul 2010 Link to this post

    Hi Admin,

    I'm not quite sure that I understand your answer. You said in your answer that problem was in browser, because browser was closed, I recorded test with open browser but, i still get the same message. I can't record logout (log off) from my tested application because there is no logout. I think I know what is the problem, but I don't know how to resolve it. My tested application uses Telerik RadControls (Popup Manager and RadWindow) for Silverlight and when I choose something from application menu after that opens new window and WebUI  "understand" that user leave current window. What should be done that WebUI still considers that it is in the same window during running tests?
  4. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 05 Jul 2010 Link to this post

    Hello tony,

    I'm not sure if the popups can cause such issue but before we step into that possibility can you also please check and follow the browser setup described in the documentation here for IE and here for Firefox and see if everything is correctly set up? I'm mainly concerned about the Trusted sites where you may need to add your URL of the application under test in order to let the browser trust it during automation.

    Sincerely yours,
    Konstantin Petkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. tony G
    tony G avatar
    5 posts
    Member since:
    Dec 2009

    Posted 05 Jul 2010 Link to this post

    Hello again,
    I have checked my settings in IE 8 and FF 3.5.10 and everything is in both browsers set as described in guide ("Configuring Internet Explorer 7 or 8 for WebAii Automation and Configuring Firefox 2.x and 3.x for WebAii Automation"), maybe problem persist because I run WebUI on Windows 7 x64 bit, although, even I set up FF 3.5.10 I have never run recording or executing recorded test in FireFox, when I run recorded test in FF I get this window, (please see attached picture).


  6. Missing user
    Missing user avatar

    Posted 06 Jul 2010 Link to this post

    Hi again Tony,

    If you can please try disabling all the Add-Ons in IE besides the following:

    Name          WebUI TestStudio Recorder
    Publisher     Control name is not available
    Status        Enabled
    Version       4.0.31106.0
    Load time     0.01 s

    Name          WebAii Test Execution Extension
    Publisher     Control name is not available
    Status        Enabled
    Version       4.0.31106.0
    Load time     0.10 s


    You may need to keep the 'Discuss' Add On enabled also.

    For Firefox, please only have the WebAii 2.1 Automation Infrastructure Add On enabled.

    Please try running the tests after trying the above.

    All the best,
    Nelson
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Missing user
    Missing user avatar

    Posted 13 Jul 2010 Link to this post

    Hello again tony,

    I apologize for not asking this sooner, but just wanted to check back to see if you are still having problems with Firefox test playback and any further problems recording or playing back in IE.

    All the best,
    Nelson
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Emanuele Zambrano
    Emanuele Zambrano avatar
    21 posts
    Member since:
    Dec 2009

    Posted 20 Aug 2010 Link to this post

    On firefox the problem is resolved disabling "Google Page Speed" add-in.

    My working configuration:

    • Windows 7 32bit
  9. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 23 Aug 2010 Link to this post

    Hi Emanuele,

    Thanks for posting this info. I've logged a bug for investigation.

    Sincerely yours,
    Konstantin Petkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top