groovy.lang.MissingMethodException: No signature of method: static com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.waitForElementClickable() is applicable for argument types: (java.lang.String, java.lang.Integer) values: [Object Repository/End User/Full Donation Transaction/btn_payButton, …]
Possible solutions: waitForElementClickable(com.kms.katalon.core.testobject.TestObject, int), waitForElementClickable(com.kms.katalon.core.testobject.TestObject, int, com.kms.katalon.core.model.FailureHandling), waitForElementNotClickable(com.kms.katalon.core.testobject.TestObject, int), waitForElementNotClickable(com.kms.katalon.core.testobject.TestObject, int, com.kms.katalon.core.model.FailureHandling)
List itemsNeededList = Arrays.asList(oppurtunityTypeItemS);
WebUI.waitForElementClickable('Object Repository/End User/Full Donation Transaction/btn_payButton', 10)
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
You forgot to call
Can anyone respond me please ?
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.
HTML for this is attached in the screenshot
I added the below line under to click on it
WebUI.click(findTestObject(‘Object Repository/End User/Full Donation Transaction/btn_payButton’))
but after adding the above line getting StaleElementReferenceException.
Please help to correct this.
You should look at the DOM of your web page using Browsers’ DevTool.
It is often the case that solving problems in browsers involves using the Browser Developer Tools, or “DevTools” for short.
How to start DevTools
With the browser open in front of you, press the 'F12' key. You’ll see a set of panels appear, either at the bottom or at the side of the main browser window:
NOTE: I’m using Firefox, but IE/Edge and Chrome DevTools look much the same.
Note: The image shows the Firefox devTools attached to the browser window. You may prefer to “float” …
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 ?