[Windows] Find Element
Description​
Find an element by using the locator value of the given Windows object.
Keyword name: findElement
Parameters​
Parameter | Parameter Type | Required | Description |
---|---|---|---|
windowsObject | WindowsTestObject | Yes | An object describing the locator and locator strategy to find a Windows element. |
Returns​
Parameter Type | Description |
---|---|
WebElement | The found element. |
Example​
WebElement foundElement = Windows.findElement(findWindowsObject('Object Repository/Notepad/Edit'));
println "The Found element said: " + foundElement.getText()