public class ByScLocator
extends By
By
which understands SmartClient locator names findElements() is delegated to AutoTest.jsModifier and Type | Method and Description |
---|---|
boolean | isEdge() Checks whether locator represents the edge of widget |
static By | scLocator(java.lang.String scLocator) Support for static API like native By class |
static void | setDefaultWaitTimeout(int timeoutInSeconds) Change the default timeout for all ByScLocator instances to the supplied number of seconds. |
void | setWaitTimeout(int timeoutInSeconds) Change the timeout of the associated ByScLocator instance to the supplied number of seconds. |
public static void setDefaultWaitTimeout(int timeoutInSeconds)
ByScLocator.findElement(SearchContext)
method that waits for an element.timeoutInSeconds
- new default timeout, in seconds (must be positive)public void setWaitTimeout(int timeoutInSeconds)
ByScLocator.findElement(SearchContext)
method that waits for an element.timeoutInSeconds
- new default timeout, in seconds (must be positive)public boolean isEdge()
public static By scLocator(java.lang.String scLocator)
scLocator
- specifies a SmarctClient component or part thereof