The execution failed don last click
I also tried with failure handling
/WebUI.waitForElementClickable(‘Object Repository/End User/Full Donation Transaction/btn_payButton’,10, FailureHandling.STOP_ON_FAILURE)
but its not working please help me to find the solution
Thanks for your response, I am sorry for this, but its not resolved yet. After correction, the script is working but does not click on the pay button. here is the xpath for pay button.
Sorry, I can not. StateElementReferenceException is thrown when the DOM is manipulated by JavaScript. It’s difficult to see how the DOM moves without immediate access to the Application Under Test.
You should look at the DOM of your web page using Browsers’ DevTool.
Okay thanks, I can understand, so there a way I can stop or ignore permanently StateElementReferenceException for the whole code and make script forcefully passed if this exception occurs.
Because execution of my test cases is working fine from start to end but due to this exception test cases goes failed ?