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

Find in live version

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 29 Sep 2015, 03:01 PM
I'm having issues locating controls because we create controls dynamically. I'm using the "Find the live Version" feature but its forcing me to test with IE and I would like to use chrome. I would also like to know what other ways I can accomplish this issue of finding dynamically created controls. Please provide a sample project if possible; I'm using Test Studio within VS 2013.

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 02 Oct 2015, 10:10 AM
Hi Joshua,

There are several ways how to handle dynamically generated controls.

1. Edit the find expression of the element. Remove all dynamically generated attributes which the find expression uses and use static ones (e.g. text content, ID).

2. Use chained find expression.

If those suggestions don't help please send us a screen shot of the DOM tree so we can give you a solution.

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Joshua
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or