This is a migrated thread and some comments may be shown as answers.

Problem when starting the test

8 Answers 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
tony G
Top achievements
Rank 1
tony G asked on 02 Jul 2010, 02:33 PM

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

8 Answers, 1 is accepted

Sort by
0
Missing User
answered on 02 Jul 2010, 06:54 PM
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
0
tony G
Top achievements
Rank 1
answered on 05 Jul 2010, 12:31 PM
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?
0
Konstantin Petkov
Telerik team
answered on 05 Jul 2010, 12:40 PM
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
0
tony G
Top achievements
Rank 1
answered on 05 Jul 2010, 03:13 PM
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).


0
Missing User
answered on 07 Jul 2010, 12:07 AM
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
0
Missing User
answered on 13 Jul 2010, 04:06 PM
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
0
Emanuele
Top achievements
Rank 2
answered on 20 Aug 2010, 11:54 AM
On firefox the problem is resolved disabling "Google Page Speed" add-in.

My working configuration:

  • Windows 7 32bit
0
Konstantin Petkov
Telerik team
answered on 23 Aug 2010, 08:33 AM
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
Tags
General Discussions
Asked by
tony G
Top achievements
Rank 1
Answers by
Missing User
tony G
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Emanuele
Top achievements
Rank 2
Share this question
or