Need help, I have an object that does not appear in html until a data set is correct, the issue is that when I test with verifyElementNotPresent it gives me an error saying Unable to verify object ‘Object Repository / EntryChasisYmotorEmpadronamiento / Valor_Patente’ is not present.
Also, that when the element is already present in the html that leaves the iteration and enter value in the field that was not visible before.
attached code:
Please try to post in English. Google translation:
Need help, I have an object that does not appear in html until a data set is correct, the issue is that when I test with verifyElementNotPresent it gives me an error saying Unable to verify object ‘Object Repository / EntryChasisYmotorEmpadronamiento / Valor_Patente’ is not present.
Also, that when the element is already present in the html that leaves the iteration and enter value in the field that was not visible before.
Thanks for the correction in the part of the code, but the problem is in Boolean var = WebUI.verifyElementNotPresent (findTestObject (‘Object Repository / EntryChasisYmotorEmpadronamiento / Valor_Patiente’), 10), since validating that the element is not visible gives me the error in
-Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to verify object ‘Object Repository/IngresoChasisYmotorEmpadronamiento/Valor_Patente’ is not present
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:48)