Skip navigation links
com.borland.silktest.jtf

Class AbstractTestObject

Type Parameters:
T - The type of the object. Must extend TestObject.
Parameters:
locator - The XPath locator or object map identifier. Defines which object to find.
Returns:
The found object.
Throws:
InvalidObjectHandleException - if the object's handle is invalid. This happens if the object in the test application was destroyed. Therefore it must be located again, e.g: with find(String).
Type Parameters:
T - The type of the object. Must extend TestObject.
Parameters:
locator - The XPath locator or object map identifier. Defines which object to find.
options - Specifies options for the find operation. Can be used to override the default timeout or to specify that null should be returned if no object is found instead of throwing an exception.
Returns:
The found object.
Throws:
InvalidObjectHandleException - if the object's handle is invalid. This happens if the object in the test application was destroyed. Therefore it must be located again, e.g: with find(String).
InvalidObjectHandleException - if the object's handle is invalid. This happens if the object in the test application was destroyed. Therefore it must be located again, e.g: with find(String).
Skip navigation links

Copyright 2009-2012 Micro Focus. All Rights Reserved.