FindChildrenFrames - web automation method
Not available in Open Twebst edition!
Searches inside a frame object, the list of direct children frame and iframe objects that verify
a list of search conditions.
var frameList = frameObj.FindChildrenFrames(Search conditions);
This method accepts a variable number of Search Condition arguments.
If no search condition is provided, then the collection of direct frame and iframe objects in the
frame container is returned.
Any HTML frame or iframe attribute is accepted in search conditions.
The method returns a FrameList object containing direct child frame and iframe objects that match
the search condition arguments. If no frame and iframe object verifies the search conditions, then
an empty list is returned.
In case of an error the method throws a script exception and the lastError property of the core object is set as follows:
The time allocated for search is specified by the searchTimeout property. The search is affected by useRegExp property.
If loadTimeout is not zero, then the method waits the browser objects to be completely loaded in the amount of time specified by the property.
If the timeout has expired the lastError property is set to LOAD_TIMEOUT_ERROR. In this case, if loadTimeoutIsError property is true,
then a script exception is thrown.
The method searches the frames among the direct child frame and iframe objects in the container frame.
- Frame | FindAllFrames | loadTimeout | searchTimeout | useRegExp
2014 CodeCentrix Software. All rights reserved.