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

The xpath last() function in Test studio locating elements

1 Answer 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Evan
Top achievements
Rank 1
Evan asked on 05 Nov 2013, 11:52 AM
Does Test Studio support locating elements by xpath last() function?
For example:
I have Silverlight app with RayGrid and I want to use the last() function to select the last row index from the table.
/RayGrid/rowspanel/cellspanel[last()]

Is it possible in TS 2013 standalone version?

1 Answer, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 08 Nov 2013, 11:36 AM
Hi Evan,

No, we do not support find expressions like this. You can see from our documentation how to use chained find expressions or watch this video for other tips for making good find expressions. 
Alternatively, you can locate these elements using only code

Please let me know whether you have any additional questions.

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