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

Dealing with Ads

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
NagaMalleswari
Top achievements
Rank 1
NagaMalleswari asked on 09 Nov 2011, 09:33 PM
Hi Guys,
I am Malle new to the Telerik tool. I tired recording some tests, i observed that the test gets failed when there is an Ad comes in between. Can some one guide me how do i do this?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 10 Nov 2011, 04:35 PM
Hello Nagamalleswari,

Thank you for evaluating Test Studio.

I think you are after our UnexpectedDialogAction feature. Currently it's only available when running your tests as part of a Test List. Please read this documentation article on "Avoiding Dialog Handling Problems with the UnexpectedDialogAction Feature" to see how to use it.

If you want to use this feature when running tests from quick execution, you have to do it in coded step with code like this:
Copy Code
Settings.Current.UnexpectedDialogAction = UnexpectedDialogAction.HandleAndContinue;
You can add this coded step at the beginning of each test, in which you expect to appear an unexpected dialog. 

If this doesn't work for you, please point us to a public web site that exhibits this Ad appearance so we can try to find a proper solution.

Hope to hear from you soon! 

Best wishes,
Plamen
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
NagaMalleswari
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or