Skip to main content

[Windows] Find Element

Description​

Find an element by using the locator value of the given Windows object.

Keyword name: findElement

Parameters​

Parameter Parameter TypeRequiredDescription
windowsObjectWindowsTestObjectYesAn object describing the locator and locator strategy to find a Windows element.

Returns​

Parameter TypeDescription
WebElementThe found element.

Example​

WebElement foundElement = Windows.findElement(findWindowsObject('Object Repository/Notepad/Edit'));
println "The Found element said: " + foundElement.getText()
Was this page helpful?