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

Selecting a dynamic record

2 Answers 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dean
Top achievements
Rank 1
Dean asked on 07 Nov 2012, 07:14 AM

Heya

I need to select a record

It's id changes (The request number is the dynamic field)
But with filters I can make it be the only record returned

I have included several screenshots of elements and dom.

2 Answers, 1 is accepted

Sort by
0
Byron
Telerik team
answered on 08 Nov 2012, 08:04 PM
Hi Dean,

Once you have used filters to edit the find logic of the element, you should be able to use that element in your selection step and expect that step to act against the correct element. If you expect the DOM to be in the state you show, Test Studio should be able to act against that element. If the filters you use do not stably select the correct element, you may need to edit them to use different attributes, or to deploy a chained find expression. Please let me know if we can assist you further.

All the best,
Byron
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Dean
Top achievements
Rank 1
answered on 09 Nov 2012, 12:49 AM

Thanks for the reply, I'll try your ideas and get back with the results.
Tags
General Discussions
Asked by
Dean
Top achievements
Rank 1
Answers by
Byron
Telerik team
Dean
Top achievements
Rank 1
Share this question
or