I am searching for a specific term say “ABC”. On click of search button it showed me list of records which contains “ABC” in it. Here i would like to verify, page is not showing other records which doesn’t contain “ABC” along with. how can i do that?
My application looks something like this
Hi - you will want to use - WebUI.verifyElementAttributeValue(findTestObject(null), ‘’, ‘’, 0) - fill it in respectively to meet your requirements so “ABC”
I have had the same sort of issue that is ongoing - might be worth a read
Im trying to verify that the string has been inputted correctly and has saved as expected but when using the VerifyElementText tool it gives me that they are not matched however they are. Am i doing something wrong?
Error logTest Cases/touchpoint examples/Add a new job - HR - 9.1 FAILED.
com.kms.katalon.core.exception.StepFailedException: Verify element text of test object ‘Object Repository/Add a new job/Page_CIPHR Self Service 9.1.0/input_Job Number _Job.Job…
Just gone throu the issue and tried with WebUI.verifyElementAttributeValue(findTestObject(null), ‘’, ‘’, 0) but it’s throwing an error
Can you please share with me your script steps
yeah here it is
String None = WebUI.getText(findTestObject('New changes/Cycle count/WC'))
GlobalVariable.Page2 = None
WebUiBuiltInKeywords.click(findTestObject('Customer module/Search Customer/i_nexgen-search'))
WebUI.verifyElementAttributeValue(findTestObject('New changes/Cycle count/Number list'),
'value', GlobalVariable.Page2, 0, FailureHandling.STOP_ON_FAILURE)
is that error throwing when only records are shown with ABC or when they are shown like the screenshot you shared above ?
if it showing with these records present then i would expect it to give you this error because the attribute value is not meeting ABC
yeah its shown when only records displayed with term ABC.
Are you using the correct attribute in the following
WebUI.verifyElementAttributeValue(findTestObject(‘New changes/Cycle count/Number list’), ‘value’, GlobalVariable.Page2, 0, FailureHandling.STOP_ON_FAILURE)
What i mean by that is ‘value’ might not be the attribute that contains ABC, it may be a different attribute