I have a table in my div that loads 50 elements at a time. I want to verify if a random element whose position is say 100. I keep getting exceptions like StepFailedException: Unable to verify object is present (Root cause: java.lang.IllegalArgumentException: Object is null).
The script i used is
WebUI.verifyElementPresent(findTestObject(‘Object Repository/Page_AP Desktop - element/div_192.168.0.1’), 10)
If i do this first
WebUI.click(findTestObject(‘Object Repository/Page_AP Desktop - element/div_192.168.0.1’)
and then
WebUI.verifyElementPresent(findTestObject(‘Object Repository/Page_AP Desktop - element/div_192.168.0.1’), 10)
it works perfectly
but if i try to find anything else say a different ip i get the above exception.