Hello again,
I am currently working on a project where I have to add objects with certain data.
When objects are added I can access a page where I can modify them or even access a page where I can add extra data. For this, I have a page with all the objects displayed in different rows and each row has a button to do the actions I mention before. The problem is that I cannot access this pages using katalon. I even wait 5 seconds for the page to load but this does nothing and it is a little bit frustrating cause Test case passes correctly.
This is the Test Case. This works correctly but when I click the button on step 18, the page does not load.
WebUI.openBrowser(ââ)
WebUI.navigateToUrl(âurlâ)
WebUI.setText(findTestObject(âPage_Login/input_User Name_vUSERNAMEâ), âadminâ)
WebUI.delay(2)
WebUI.setEncryptedText(findTestObject(âPage_Login/input_User Password_vUSERPASSWORDâ), âhUKwJTbofgPU9eVlw/CnDQ==â)
WebUI.click(findTestObject(âPage_Login/input_User Password_LOGINâ))
WebUI.click(findTestObject(âPage_Inicio/a_Analticaâ))
WebUI.delay(2)
WebUI.click(findTestObject(âPage_Ingreso y Validacion de Resultados/a_Ingreso y Validacion de Resultadosâ))
WebUI.waitForPageLoad(5)
WebUI.click(findTestObject(âPage_Administracin de rdenes/span_En Proceso_caretâ))
WebUI.delay(2)
WebUI.waitForElementPresent(findTestObject(âPage_Administracin de rdenes/ul_dropDownâ), 30)
WebUI.click(findTestObject(âPage_Administracin de rdenes/a_Seleccionar Todosâ))
WebUI.verifyElementNotChecked(findTestObject(âPage_Administracin de rdenes/a_Seleccionar Todosâ), 30)
WebUI.click(findTestObject(âPage_Administracin de rdenes/input_Seleccionar Todos_BUTTON1â))
WebUI.waitForElementVisible(findTestObject(âPage_Administracin de rdenes/div_BoxConOrdenesâ), 30)
//WebUI.click(findTestObject(âPage_Ingreso y Validacion de Resultados/img_vVER_0001â))
CustomKeywords.âkeywordPrueba.CustomFunction.clickUsingJSâ(findTestObject(âPage_Ingreso y Validacion de Resultados/img_vVER_0001â),
30)
WebUI.waitForPageLoad(5)
This is the xpath of the button I click to enter the page I want:
This is the html surrounding my button
This is my console:
Do I need to do something that I am not doing? Do you have any suggestions on what is happening? most pages load correctly so I am having a difficult time to solve this ! I think the problem occurs when I want to access a data page of an object in the system.