public class WindowsBuiltinKeywords extends BuiltinKeywords
Type Params | Return Type | Name and description |
---|---|---|
|
public static void |
clearText(WindowsTestObject windowsObject) Clears text content of the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
clearText(WindowsTestObject windowsObject, FailureHandling flowControl) Clears text content of the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
click(WindowsTestObject windowsObject) Performs a click action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
click(WindowsTestObject windowsObject, FailureHandling flowControl) Performs a click action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
clickElementOffset(WindowsTestObject windowsObject, int offsetX, int offsetY) Performs a click action at the given offset of the windows element (relative to its top-left corner) that is found by using locator value of the given windowsObject. |
|
public static void |
clickElementOffset(WindowsTestObject windowsObject, int offsetX, int offsetY, FailureHandling flowControl) Performs a click action at the given offset on the windows element (relative to its top-left corner) that is found by using locator value of the given windowsObject. |
|
public static void |
closeApplication() Fires the Close event of the running application to the Windows System. |
|
public static void |
doubleClick(WindowsTestObject windowsObject) Performs a double-click action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
doubleClick(WindowsTestObject windowsObject, FailureHandling flowControl) Performs a double-click action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static WebElement |
findElement(WindowsTestObject windowsObject, FailureHandling flowControl) Finds element by using locator value of the given windowsObject. |
|
public static WebElement |
findElement(WindowsTestObject windowsObject) Finds element by using locator value of the given windowsObject. |
|
public static List<WebElement> |
findElements(WindowsTestObject windowsObject, FailureHandling flowControl) Finds elements by using locator value of the given windowsObject. |
|
public static List<WebElement> |
findElements(WindowsTestObject windowsObject) Finds elements by using locator value of the given windowsObject. |
|
public static String |
getAttribute(WindowsTestObject windowsObject, String attribute, FailureHandling flowControl) Gets attribute value of a Windows element. |
|
public static String |
getAttribute(WindowsTestObject windowsObject, String attribute) Gets attribute value of a Windows element. |
|
public static WindowsDriver<WebElement> |
getDriver() Gets the current Windows Driver. |
|
public static Point |
getElementPosition(WindowsTestObject windowsObject, FailureHandling flowControl) Get the position of the WebElement that is found by using locator value of the given windowsObject. |
|
public static Point |
getElementPosition(WindowsTestObject windowsObject) Get the position of the WebElement that is found by using locator value of the given windowsObject. |
|
public static Rectangle |
getElementRect(WindowsTestObject windowsObject, FailureHandling flowControl) Get the bounding rectangle of the WebElement that is found by using locator value of the given windowsObject. |
|
public static Rectangle |
getElementRect(WindowsTestObject windowsObject) Get the bounding rectangle of the WebElement that is found by using locator value of the given windowsObject. |
|
public static String |
getText(WindowsTestObject windowsObject) Gets text content of the WebElement that is found by using locator value of the given windowsObject. |
|
public static String |
getText(WindowsTestObject windowsObject, FailureHandling flowControl) Gets text content of the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
rightClick(WindowsTestObject windowsObject) Performs a right-click action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
rightClick(WindowsTestObject windowsObject, FailureHandling flowControl) Performs a right-click action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
rightClickElementOffset(WindowsTestObject windowsObject, int offsetX, int offsetY) Performs a right-click action at the provided offset on the windows element that is found by using locator value of the given windowsObject. |
|
public static void |
rightClickElementOffset(WindowsTestObject windowsObject, int offsetX, int offsetY, FailureHandling flowControl) Performs a right-click action at the provided offset on the windows element that is found by using locator value of the given windowsObject. |
|
public static void |
sendKeys(WindowsTestObject windowsObject, String strKeys, FailureHandling flowControl) Simulates keystroke events on the specified element, as though you typed the value key-by-key |
|
public static void |
sendKeys(WindowsTestObject windowsObject, String strKeys) Simulates keystroke events on the specified element, as though you typed the value key-by-key |
|
public static void |
setEncryptedText(WindowsTestObject windowsObject, String encryptedText) Performs a set text action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
setEncryptedText(WindowsTestObject windowsObject, String encryptedText, FailureHandling flowControl) Performs a set text action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
setText(WindowsTestObject windowsObject, String text) Performs a set text action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
setText(WindowsTestObject windowsObject, String text, FailureHandling flowControl) Performs a set text action on the WebElement that is found by using locator value of the given windowsObject. |
|
public static void |
startApplication(String appFile) Starts Windows driver and starts the Windows application at the given absolute path. |
|
public static void |
startApplication(String appFile, FailureHandling flowControl) Starts Windows driver and starts the Windows application at the given absolute path. |
|
public static void |
startApplicationWithTitle(String appFile, String windowTitle, FailureHandling flowControl) Starts Windows driver and starts the Windows application at the given absolute path. |
|
public static void |
startApplicationWithTitle(String appFile, String windowTitle, StringMatchingStrategy matchingStrategy, FailureHandling flowControl) Starts Windows driver and starts the Windows application at the given absolute path. |
|
public static void |
startApplicationWithTitle(String appFile, String windowTitle) Starts Windows driver and starts the Windows application at the given absolute path. |
|
public static void |
startApplicationWithTitle(String appFile, String windowTitle, StringMatchingStrategy matchingStrategy) Starts Windows driver and starts the Windows application at the given absolute path. |
|
public static void |
switchToApplication() Switches the current running driver to the application WindowsDriver. |
|
public static void |
switchToApplication(FailureHandling flowControl) Switches the current running driver to the application WindowsDriver. |
|
public static void |
switchToDesktop() Switches the current running driver to desktop session of Windows Driver. |
|
public static void |
switchToDesktop(FailureHandling flowControl) Switches the current running driver to desktop session of Windows Driver. |
|
public static WindowsDriver<WebElement> |
switchToWindow(WindowsTestObject windowsObject, FailureHandling flowControl) Finds and attaches the opening application window that describes by the given windowsObject to the working WindowsDriver session on the current desktop. |
|
public static WindowsDriver<WebElement> |
switchToWindow(WindowsTestObject windowsObject) Finds and attaches the opening application window that describes by the given windowsObject to the working WindowsDriver session on the current desktop. |
|
public static WindowsDriver<WebElement> |
switchToWindowTitle(String windowTitle, FailureHandling flowControl) Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). |
|
public static WindowsDriver<WebElement> |
switchToWindowTitle(String windowTitle, StringMatchingStrategy matchingStrategy, FailureHandling flowControl) Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). |
|
public static WindowsDriver<WebElement> |
switchToWindowTitle(String windowTitle) Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). |
|
public static WindowsDriver<WebElement> |
switchToWindowTitle(String windowTitle, StringMatchingStrategy matchingStrategy) Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). |
|
public static boolean |
verifyElementAttributeValue(WindowsTestObject windowsObject, String attributeName, String attributeValue, int timeout, FailureHandling flowControl) Waits until the given element has an attribute with the specific name and value within the given time in second unit. |
|
public static boolean |
verifyElementAttributeValue(WindowsTestObject windowsObject, String attributeName, String attributeValue, int timeout) Waits until the given element has an attribute with the specific name and value within the given time in second unit. |
|
public static boolean |
verifyElementNotPresent(WindowsTestObject windowsObject, int timeout, FailureHandling flowControl) Waits until the given element not to present (disappear) within the given time in second unit. |
|
public static boolean |
verifyElementNotPresent(WindowsTestObject windowsObject, int timeout) Waits until the given element not to present (disappear) within the given time in second unit. |
|
public static boolean |
verifyElementPresent(WindowsTestObject windowsObject, int timeout, FailureHandling flowControl) Waits until the given element to present (appear) within the given time in second unit. |
|
public static boolean |
verifyElementPresent(WindowsTestObject windowsObject, int timeout) Waits until the given element to present (appear) within the given time in second unit. |
|
public static boolean |
waitForElementAttributeValue(WindowsTestObject windowsObject, String attributeName, String attributeValue, int timeout, FailureHandling flowControl) Waits until the given element has an attribute with the specific name and value within the given time in second unit. |
|
public static boolean |
waitForElementAttributeValue(WindowsTestObject windowsObject, String attributeName, String attributeValue, int timeout) Waits until the given element has an attribute with the specific name and value within the given time in second unit. |
|
public static boolean |
waitForElementNotPresent(WindowsTestObject windowsObject, int timeout, FailureHandling flowControl) Waits for the given element not to present (disappear) within the given time in second unit. |
|
public static boolean |
waitForElementNotPresent(WindowsTestObject windowsObject, int timeout) Waits for the given element not to present (disappear) within the given time in second unit. |
|
public static boolean |
waitForElementPresent(WindowsTestObject windowsObject, int timeout, FailureHandling flowControl) Waits for the given element to present (appear) within the given time in second unit. |
|
public static boolean |
waitForElementPresent(WindowsTestObject windowsObject, int timeout) Waits for the given element to present (appear) within the given time in second unit. |
Methods inherited from class | Name |
---|---|
class BuiltinKeywords |
callTestCase, callTestCase, comment, concatenate, concatenate, delay, delay, verifyCheckpoint, verifyCheckpoint, verifyEqual, verifyEqual, verifyGreaterThan, verifyGreaterThan, verifyGreaterThanOrEqual, verifyGreaterThanOrEqual, verifyLessThan, verifyLessThan, verifyLessThanOrEqual, verifyLessThanOrEqual, verifyMatch, verifyMatch, verifyNotEqual, verifyNotEqual, verifyNotMatch, verifyNotMatch |
Clears text content of the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.Clears text content of the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Performs a click action on the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.Performs a click action on the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Performs a click action at the given offset of the windows element (relative to its top-left corner) that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find
Windows Element.offsetX
- The horizontal offset relative to the top-left corner of the
element.offsetY
- The vertical offset relative to the top-left corner of the
element.Performs a click action at the given offset on the windows element (relative to its top-left corner) that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find
Windows Element.offsetX
- The horizontal offset relative to the top-left corner of the
element.offsetY
- The vertical offset relative to the top-left corner of the
element.flowControl
- Optional parameter: Controls the execution flow if the step
failed.
Fires the Close event of the running application to the Windows System.
This action is similar to pressing 'ALT + F4' and also does not force close the application.
If the application shows a confirmation to close, users need to do some extra steps to actually close the application.
Performs a double-click action on the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.Performs a double-click action on the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Finds element by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Finds element by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.Finds elements by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Elements.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Finds elements by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Elements.Gets attribute value of a Windows element.
windowsObject
- An object that describes locator and locator strategy to find Windows element.attribute
- Name of the attribute, not null.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Gets attribute value of a Windows element.
windowsObject
- An object that describes locator and locator strategy to find Windows element.attribute
- Name of the attribute, not null.Gets the current Windows Driver.
Get the position of the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Get the position of the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.Get the bounding rectangle of the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Get the bounding rectangle of the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element. Gets text content of the WebElement that is found by using locator value of the given windowsObject.
This action will append the given text on the element and doesn't clear the current text of the element.
windowsObject
- An object that describes locator and locator strategy to find Windows Element. Gets text content of the WebElement that is found by using locator value of the given windowsObject.
This action will append the given text on the element and doesn't clear the current text of the element.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Performs a right-click action on the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.Performs a right-click action on the WebElement that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Performs a right-click action at the provided offset on the windows element that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find
Windows Element.offsetX
- The horizontal offset relative to the top-left corner of the
element.offsetY
- The vertical offset relative to the top-left corner of the
element.Performs a right-click action at the provided offset on the windows element that is found by using locator value of the given windowsObject.
windowsObject
- An object that describes locator and locator strategy to find
Windows Element.offsetX
- The horizontal offset relative to the top-left corner of the
element.offsetY
- The vertical offset relative to the top-left corner of the
element.flowControl
- Optional parameter: Controls the execution flow if the step
failed.
Simulates keystroke events on the specified element, as though you typed the value key-by-key
windowsObject
- An object that describes locator and locator strategy to find Windows Element.strKeys
- The combination of keys to typeflowControl
- Optional parameter: Controls the execution flow if the step failed.
Simulates keystroke events on the specified element, as though you typed the value key-by-key
windowsObject
- An object that describes locator and locator strategy to find Windows Element.strKeys
- The combination of keys to type Performs a set text action on the WebElement that is found by using locator value of the given
windowsObject.
This action will clear the current text and append the new encrypted text on the element.
windowsObject
- An object that describes locator and locator strategy to find Windows element.encryptedText
- The encrypted text content to set on the element, not null.
Performs a set text action on the WebElement that is found by using locator value of the given
windowsObject.
This action will clear the current text and append the new encrypted text on the element.
windowsObject
- An object that describes locator and locator strategy to find Windows element.encryptedText
- The encrypted text content to set on the element, not null.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Performs a set text action on the WebElement that is found by using locator value of the given
windowsObject.
This action will clear the current text and append the given text on the element.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.text
- The text content to set on the element. Performs a set text action on the WebElement that is found by using locator value of the given
windowsObject.
This action will clear the current text and append the given text on the element.
windowsObject
- An object that describes locator and locator strategy to find Windows Element.text
- The text content to set on the element.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Starts Windows driver and starts the Windows application at the given absolute path.
appFile
- Absolute path to the Windows application.Starts Windows driver and starts the Windows application at the given absolute path.
appFile
- Absolute path to the Windows application.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Starts Windows driver and starts the Windows application at the given absolute path. After the application starts, if WinAppDriver cannot not detect the main application window correctly, Katalon Studio will use the given windowTitle in the preset timeout (120 seconds by default) to find the opened application to continue working.
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
appFile
- Absolute path to the Windows application.windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.Starts Windows driver and starts the Windows application at the given absolute path. After the application starts, if WinAppDriver cannot not detect the main application window correctly, Katalon Studio will use the given windowTitle in the preset timeout (120 seconds by default) to find the opened application to continue working.
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
appFile
- Absolute path to the Windows application.windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.matchingStrategy
- Specifies the strategy to match the windowTitle
parameter against the actual window title. Allowed values are:
windowTitle
parameter should be a substring of the actual window title.windowTitle
parameter should be a valid regular expression pattern that matches the actual window title.windowTitle
parameter should exactly match the actual window title.Starts Windows driver and starts the Windows application at the given absolute path. After the application starts, if WinAppDriver cannot not detect the main application window correctly, Katalon Studio will use the given windowTitle in the preset timeout (120 seconds by default) to find the opened application to continue working.
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
appFile
- Absolute path to the Windows application.windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.Starts Windows driver and starts the Windows application at the given absolute path. After the application starts, if WinAppDriver cannot not detect the main application window correctly, Katalon Studio will use the given windowTitle in the preset timeout (120 seconds by default) to find the opened application to continue working.
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
appFile
- Absolute path to the Windows application.windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.matchingStrategy
- Specifies the strategy to match the windowTitle
parameter against the actual window title. Allowed values are:
windowTitle
parameter should be a substring of the actual window title.windowTitle
parameter should be a valid regular expression pattern that matches the actual window title.windowTitle
parameter should exactly match the actual window title.Switches the current running driver to the application WindowsDriver.
Switches the current running driver to the application WindowsDriver.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Switches the current running driver to desktop session of Windows Driver. KS will initialize another WindowsDriver with 'app: Root' desired capability and the same WinAppDriver URL and Proxy settings of the application driver.
All of WindowsBuiltinKeywords now are manipulated by the desktop WindowsDriver.
Depends on how many Windows elements on Desktop of the test machine, Katalon Studio may take a couples of minutes to complete this action.
Switches the current running driver to desktop session of Windows Driver. KS will initialize another WindowsDriver with 'app: Root' desired capability and the same WinAppDriver URL and Proxy settings of the application driver.
All of WindowsBuiltinKeywords now are manipulated by the desktop WindowsDriver.
Depends on how many Windows elements on Desktop of the test machine, Katalon Studio may take a couples of minutes to complete this action.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Finds and attaches the opening application window that describes by the given windowsObject to the working WindowsDriver session on the current desktop. This keyword should use when:
windowsObject
- An object that describes locator and locator strategy to find the opening application.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Finds and attaches the opening application window that describes by the given windowsObject to the working WindowsDriver session on the current desktop. This keyword should use when:
windowsObject
- An object that describes locator and locator strategy to find the opening application.Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). This keyword should use when:
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). This keyword should use when:
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.matchingStrategy
- Specifies the strategy to match the windowTitle
parameter against the actual window title. Allowed values are:
windowTitle
parameter should be a substring of the actual window title.windowTitle
parameter should be a valid regular expression pattern that matches the actual window title.windowTitle
parameter should exactly match the actual window title.flowControl
- Optional parameter: Controls the execution flow if the step failed.
Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). This keyword should use when:
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.Finds and switches the opening application window to the working WindowsDriver session on the current desktop by the given title in the preset timeout (120 seconds by default). This keyword should use when:
Since 7.5.5, you can change the application title waiting timeout by changing: WindowsActionSettings.DF_WAIT_ACTION_TIMEOUT_IN_MILLIS
windowTitle
- Title or name of the opening application windows. Full text, partial text, or regular expression input is acceptable.matchingStrategy
- Specifies the strategy to match the windowTitle
parameter against the actual window title. Allowed values are:
windowTitle
parameter should be a substring of the actual window title.windowTitle
parameter should be a valid regular expression pattern that matches the actual window title.windowTitle
parameter should exactly match the actual window title.Waits until the given element has an attribute with the specific name and value within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.attributeName
- The name of the attribute name to verify, not null.attributeValue
- The value of the expected attribute value to verify, not null.timeout
- System will wait at most timeout (seconds) to return result.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Waits until the given element has an attribute with the specific name and value within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.attributeName
- The name of the attribute name to verify, not null.attributeValue
- The value of the expected attribute value to verify, not null.timeout
- System will wait at most timeout (seconds) to return result.
Waits until the given element not to present (disappear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to return result.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Waits until the given element not to present (disappear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to return result.
Waits until the given element to present (appear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to return result.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Waits until the given element to present (appear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to return result.
Waits until the given element has an attribute with the specific name and value within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.attributeName
- The name of the attribute to verify, not null.attributeValue
- The value of the expected attribute value to verify, not null.timeout
- System will wait at most timeout (seconds) to check the given element.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Waits until the given element has an attribute with the specific name and value within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.attributeName
- The name of the attribute to verify, not null.attributeValue
- The value of the expected attribute value to verify, not null.timeout
- System will wait at most timeout (seconds) to check the given element.
Waits for the given element not to present (disappear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to check the given element.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Waits for the given element not to present (disappear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to check the given element.
Waits for the given element to present (appear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to check the given element.
flowControl
- Optional parameter: Controls the execution flow if the step failed.
Waits for the given element to present (appear) within the given time in second unit.
windowsObject
- An object that describes locator and locator strategy of
the target element that needs to wait for.timeout
- System will wait at most timeout (seconds) to check the given element.