Hi @muralidharan.s this might help…
Executing test cases tips:
When loading a new page, a WebUI.waitForPageLoad() function might be required:
WebUI.waitForPageLoad(5) //wait up-to 5 seconds, (5+ seconds might be needed, I use 30+ when working with CICD Pipelines).
//Your test script steps...
When loading a new page, a WebUI.waitForElementVisible() functon and or a WebUI.enhancedClick() function might be required:
WebUI.waitForElementVisible(findTestObject(HelpButton), //wait up-to 5 seconds, (5+ seconds might be needed).
WebUI.enhancedClick(findTestObject('HelpButton'), FailureHandling.OPTIONAL)
//Your test script steps...
When working with drop-down elements like country/state/province, then you might have to use a WebUI.waitForElementClickable() function:
WebUI.waitForElementClickable(findTestObject(stateSelector), 5) //wait up-to 5 seconds, (5+ seconds might be needed).
WebUI.enhancedClick(findTestObject('stateSelector'), FailureHandling.OPTIONAL)
//Your test script steps...