I have currently applied Katalon Studio (7.9.1) in my project. I use Windows 10 and Google Chrome.
Problem
I try to click a list (that exists) and select a certain value but Katalon wont find it
Error
Unable to select option by label ‘Al Guardar’ of object ‘Object Repository/Localhost Repository/Page_Ingreso de Resultado/select_Por PruebaPor SectorPor OrdenAl Guardar’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to select option by label ‘Al Guardar’ of object ‘Object Repository/Localhost Repository/Page_Ingreso de Resultado/select_Por PruebaPor SectorPor OrdenAl Guardar’
.
.
.
Web element with id: ‘Object Repository/Localhost Repository/Page_Ingreso de Resultado/select_Por PruebaPor SectorPor OrdenAl Guardar’ located by ‘/html/body/form/div[2]/div[2]/div/div/div/div/div[2]/div/table/tbody/tr[2]/td/div/div/div/div/div/div/div/div/table/tbody/tr[1]/td/table/tbody/tr[2]/td[2]/table/tbody/tr/td[5]/select’ not found
Script
WebUI.selectOptionByLabel(findTestObject(‘Localhost Repository/Page_Ingreso de Resultado/select_Por PruebaPor SectorPor OrdenAl Guardar’), ‘Al Guardar’, false)
HTML Object
XPath Object
//*[@id=“vTIPOVAL”]
Complete XPath Object
/html/body/form/div[2]/div[2]/div/div/div/div/div[2]/div/table/tbody/tr[2]/td/div/div/div/div/div/div/div/div/table/tbody/tr[1]/td/table/tbody/tr[2]/td[2]/table/tbody/tr/td[5]/select
Solutions I tried
-
Selecting element in the list by value or other options Katalon offers you
-
Going to the attributes of the object and playing with its properties (Checking and uncheking the different options)
-
Usiing other functionalities the system I am testing has to achive the same result. Couldnt manage myself to do this because there are other buttons that I am not being able to click
-
Waiting for the element to appear
-
Looking in Katalon community for an answer