The click on below + icon is not working properly

Hi @archana0393, We use the following for our best practices when loading webpages and waiting for elements to render/display on a webpage:

Keywords to use when loading webpages and interacting with buttons and other webpage elements.

Waits for a page to load within the defined timeout.

Waits until the given web element is visible within the defined timeout, our preferred keyword.

Waits for the given element to be present within the defined timeout.

Clicks on the given element using various trial-and-error methods. Note: This keyword uses Javascript click as the last fallback which may not have the same effect as an actual click on an element. Note: We use WebUI.enhancedClick() when working with offscreen elements/objects and hard to click on element/objects as it is more robust than using

Click on HelpButton example test case:

Note: Wait timeouts may vary based on the demands put on your systems, for example our CICD Pipelines require a 60 second timeout due to many other requests being made.

imports ...
WebUI.waitForPageLoad(60) //Waits 60 seconds or less
WebUI.waitForElementVisible(findTestObject('HelpButton'), 60, FailureHandling.OPTIONAL) //Waits 60 seconds or less
WebUI.enhancedClick(findTestObject('HelpButton'), FailureHandling.OPTIONAL)

1 Like