Skip to main content

[Windows] Verify Element Present

Description

Wait until the given element to present (appear) within the given time in the second unit.

Keyword name: verifyForElementPresent

Parameters

Parameter Parameter TypeRequiredDescription
windowsObjectWindowsTestObjectYesAn object that describes locator and locator strategy of the target element that needs to wait for
timeoutIntegerYesSystem will wait at most timeout (seconds) to return the result.
  • If timeout = 0, Katalon Studio will use the default page load timeout.
  • If timeout < 0, throws IllegalArgumentException.

Returns

Parameter TypeDescription
Booleantrue if the element presents; Otherwise, false.

Example

"Verify to expect the edit panel presents with verifyElementPresent keyword"
assert Windows.verifyElementPresent(findWindowsObject('Object Repository/Edit') 10)
Was this page helpful?