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

Blink or Flash page element method?

1 Answer 25 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Max
Top achievements
Rank 1
Max asked on 20 Jul 2012, 09:48 AM

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? 

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 24 Jul 2012, 09:23 PM
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;

Greetings,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Max
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or