Blink or Flash page element method?

2 posts, 0 answers
  1. Max
    Max avatar
    18 posts
    Member since:
    Jul 2012

    Posted 20 Jul 2012 Link to this post

    I realise this might be straying a little into the code side of things, but was hoping someone could help.

    I'd like to check that my custom code step is actually reaching a particular page element (in this case it is a RadListBox). In order to help me debug, I was wondering if there was a Telerik/ArtofTesting method to flash, or blink, the element in the browser, when the code step is reached? 

  2. Cody
    Cody avatar
    3354 posts

    Posted 24 Jul 2012 Link to this post

    Hi Max,

    You can highlight the target element in code using something like this:

    Settings.Current.AnnotateExecution = true;
    Actions.AnnotateElement(Pages.NewsAndFeaturesNASAJet.LatestNewsH1Tag.BaseElement, "Highlighting the element");
    Settings.Current.AnnotateExecution = false;

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