Skip to content

Windows Keywords

5.7.1. Clear Text

Clear text of a textbox/textarea in Window Applications.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target textbox/textarea want to clear
timeout timeout is time to implement keyword.

5.7.2. Click

Click on an element on window application.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to click
timeout timeout is time to implement keyword.

5.7.3. Close By Window Id

Close the window with the given ID.

  • Object Repository: No Object Repository is required.
  • Data Input: No Data Input is required.
Field Description
windowID the ID of window want to close.

5.7.4. Close Current Window

Close the current window.

  • Object Repository: No Object Repository is required.
  • Data Input: No Data Input is required.

5.7.5. Close Window By Title

Close window by the given title.

  • Object Repository: No Object Repository is required.
  • Data Input:
Field Description
title the title of window want to close.

5.7.6. Double Click

Double Click on the given element.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to doubleclick
timeout timeout is time to implement keyword.

5.7.7. Drag And Drop By Offset

Drag an object and drop it to an offset location.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target object want to drag
xOffset Pixel number of moving by horizontal axis to of desired destination.
yOffset Pixel number of moving by vertical axis to of desired destination.
timeout timeout is time to implement keyword.

5.7.8. Drag And Drop To Element

Drag an object and drop it into another object.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
from object want to drag.
to destination object want to drop into.

5.7.9. Get Attribute Value

Get the attribute value of a WindowApp element.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to get attribute value.
attributeName name of attribute value want to get.
timeout timeout is time to implement keyword.

  • Data Output : Create or call a variable.

5.7.10. Get Current Window ID

Get ID of the current Window.

  • Object Repository: No Object Repository is required.
  • Data Input: No Data Input is required.

  • Data Output : Create or call a variable.

5.7.11. Get Current Window Title

Get title of the current Window.

  • Object Repository: No Object Repository is required.
  • Data Input: No Data Input is required.

  • Data Output : Create or call a variable.

5.7.12. Get Elements Count

Count the number of elements on DOM.

  • Object Repository: Windows UI Object.
  • Data Input: No Data Input is required.
Field Description
target element want to count.

  • Data Output : Create or call a variable.

5.7.13. Get Text

Get text of an element.

  • Object Repository: Windows UI Object.
  • Data Input: No Data Input is required.
Field Description
target element want to get text.
timeout timeout is time to implement keyword.

  • Data Output : Create or call a variable.

5.7.14. Maximize Window

Maximize current Window.

  • Object Repository: No Object Repository is required.
  • Data Input: No Data Input is required.

5.7.15. Right Click

Right click on the given element.

  • Object Repository: Windows UI Object.
  • Data Input: No Data Input is required.
Field Description
target element want to right click.
timeout timeout is time to implement keyword.

5.7.16. Send Keys

SendKeys to a textbox/textarea of window application.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to send keys.
keys string want to send.
timeout timeout is time to implement keyword.

5.7.17. Start Windows Application Automation

Start windows application.

  • Object Repository: No Object Repository is required.
  • Data Input: No Data Input is required.

5.7.18. Stop Windows Application Automation

Stop windows application.

  • Object Repository: No Object Repository is required.
  • Data Input: No Data Input is required.

5.7.19. Switch By Window ID

Switch to with window ID input.

  • Object Repository: No Object Repository is required.
  • Data Input:
Field Description
windowID ID of window want to switch.

5.7.20. Switch To Window By Title

Switch to the window with a given title.

  • Object Repository: No Object Repository is required.
  • Data Input:
Field Description
title Title of the window want to switch.

5.7.21. Verify Element Attribute Value

Verify if the window element has an attribute with the given name and value.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
attributeName name of attribute.
expectedValue expected value of attribute's value.
timeout timeout is time to implement keyword.

5.7.22. Verify Element Attribute Value By Regex

Verify if the element has an attribute value with given name by regex.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
attributeName name of attribute.
regex the regex string expected for the value of attribute.
timeout timeout is time to implement keyword.

5.7.23. Verify Element Attribute Value Different From

Verify if the element has an attribute value different from expected value.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
attributeName name of attribute.
valueToAvoid the value need to avoid.
timeout timeout is time to implement keyword.

5.7.24. Verify Element Disabled

Verify if the given element is disabled.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.25. Verify Element Enabled

Verify if the given element is enabled.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.26. Verify Element Has Attribute

Verify if the element has an attribute with the given name.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
attributeName name of attribute.
timeout timeout is time to implement keyword.

5.7.27. Verify Element Has Not Attribute

Verify if the element NOT has an attribute with the given name.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
attributeName name of attribute.
timeout timeout is time to implement keyword.

5.7.28. Verify Element Not Present

Verify if the given element does not present in DOM.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.29. Verify Element Not Selected

Verify if the given element is not selected.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.30. Verify Element Not Visible

Verify if the given element is not visible in DOM.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.31. Verify Element Present

Verify if the given element presents in DOM.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.32. Verify Element Selected

Verify if the given element is selected.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.33. Verify Element Text

Verify text of an element equal with expected text input.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
expectedText expected text.
trimText Yes/No remove spaces before and after the string, leaving only spaces between words.
ignoreCase Yes/No skip the uppercase, lowercase word case check.
timeout timeout is time to implement keyword.

5.7.34. Verify Element Text By Regex

Verify text contains of an element regex: A regular expression(shortened as regex or regex; sometimes referred to as rational expression ) is a sequence of characters that specifies a search pattern in text.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
regex the regex string expected for the value of element's text.
timeout timeout is time to implement keyword.

5.7.35. Verify Element Text Different From

Verify text of an element different with text input.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
textToAvoid text to avoid.
trimText Yes/No remove spaces before and after the string, leaving only spaces between words.
ignoreCase Yes/No skip the uppercase, lowercase word case check.
timeout timeout is time to implement keyword.

5.7.36. Verify Element Visible

Verify if the given element is visible in DOM.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to verify.
timeout timeout is time to implement keyword.

5.7.37. Wait For Element Clickable

Wait for the given element to click able with in the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.38. Wait For Element Disabled

Wait for the element is disabled within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.39. Wait For Element Enabled

Wait for element is enabled within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.40. Wait For Element Not Present

Wait for the given element to NOT present (apprear) within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.41. Wait For Element Not Selected

Wait for the given element with the given value are not selected within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.42. Wait For Element Not Visible

Wait until the given element is NOT visible within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.43. Wait For Element Present

Wait for the given element to present within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.44. Wait For Element Selected

Wait for the element with the given value are selected within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.

5.7.45. Wait For Element Visible

Wait until the given element is visible within the given time.

  • Object Repository: Windows UI Object.
  • Data Input:
Field Description
target element want to wait.
timeout timeout is time to wait with in.

  • Data Output : Create or call a variable.