Dealing with Ads

2 posts, 0 answers
  1. NagaMalleswari
    NagaMalleswari avatar
    1 posts
    Member since:
    Oct 2011

    Posted 09 Nov 2011 Link to this post

    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?
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 10 Nov 2011 Link to this post

    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
Back to Top