I am evaluating Katalon but cannot get past what should be a simple step – selecting an option from a dropdown listbox on a web page in Chrome. Selecting the option causes an update in the page and this is what I think is causing the problem. I select the option with the following line of code:
WebUI.selectOptionByValue(findTestObject('pageWelcome/listboxGoto3'), 'SYSTEM_USER_NOTES#LIST', true)
While this does select the new value in the listbox, it then throws the following error:
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
Can anyone help please?
How can overcome this following errors listed below Caused by: org.openqa.selenium.ElementNotInteractableException: element not interactable
At object: 'Object Repository/Page_Petkonnect/shop_name'
12-09-2020 01:23:44 PM sendKeys(findTestObject("Page_Petkonnect/shop_name"), "cv petshop")
Elapsed time: 0.886s
Unable to send keys 'cv petshop' to object 'Object Repository/Page_Petkonnect/shop_name' (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to send keys 'cv petshop' to object 'Object Repository/Page_Petkonnect/shop_name'
Guys someone there already had problems with invalid login, I believe I tried 3 times and the password was incorrect but I tried to recover and did not receive an email and now my access is blocked, I send an email to info @ katalon. with
Has anyone had the same problem or something?
@ttwu2019 You can try this script instead:
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject import com.kms.katalon.core.mobile.helper.MobileElementCommonHelper import io.appium.java_client.MobileElement MobileElement element = MobileElementCommonHelper.findElement(findTestObject('element id'), 10) element.click()
can any one help in autoamating shadow DOM using katalon?
I try doing as mentioned in Documentation but it is not working.