Completed
Last Updated: 12 Feb 2014 15:49 by ADMIN
David
Created on: 26 Jul 2013 11:22
Type: Feature Request
1
more options for finding frames
We are struggling with dynamic frames and their id's.  The syntax for ~SomeFrame always finds the first frame that matches.  We would love to be able to locate the *last* frame that matches, similar to the XPath function "last".
1 comment
ADMIN
Shtilianov
Posted on: 12 Feb 2014 15:49
We have implemented an option to use custom tags in frames which should help in your case. You can check this article in the documentation for more info: http://docs.telerik.com/teststudio/user-guide/code-samples/html/tagframe.aspx
 Basically using the latest release you should be able to both add a simple tag in the iFrame itself like iframe src="http://www.example.com" testStudioTag="ExampleTag"></iframe> or you dynamically assign tag to iFrame in the code which will be set for the purposes of the running test using myFrame.TagFrame("MyCustomTag");