Skip to main content

[WebUI] Enhanced Click

Note:

Your Katalon Studio version must be 7.2.5+.

Warning:

This keyword uses Javascript click as the last fallback which may not have the same effect as an actual click on an element.

Description​

Click on the given element using various trial-and-error methods.

Keyword name: enhancedClick

Parameters​

ParameterParameter TypeRequiredDescription
toTestObjectYesAn object representing a web element.
flowControlFailureHandlingOptionalSpecify failure handling schema to determine whether the execution should be allowed to continue or stop.

Example​

'Open browser and navigate to demo AUT site.'
WebUI.openBrowser(GlobalVariable.G_SiteURL)

'Click on 'Book Appointment' button'
WebUI.enhancedClick(findTestObject('Page_CuraHomepage/btn_MakeAppointment'))

'Close browser'
WebUI.closeBrowser()
Was this page helpful?