Dear all,
I need support this issue. I can not click on Object .Error messages are displayed on the attached image. Please help me.
Many thanks.
Can you please send a snippet of the actual test page that is recieving the error and the html of the element you want to click.
@hpulsford @Do_Dieu_Thuy – Could you try with set delay in each action and then try to execute -
Hi,
maybe you will need to use dynamic xpath value as like
int x = some_integer_value;
String txtval = x
'Change xpath property to new value'
//text = property type, possible to use xpath also
//txtval = value which will change, need to be string type
//xpathVal = "//div[@id='example_paginate']/span/a["+value_to_change+"]"
newProperty = WebUI.modifyObjectProperty(findTestObject('Object Repository/DatePicker/Page_/day'), 'text','equals',txtval, true)
//if used xpath
//newProperty = WebUI.modifyObjectProperty(findTestObject('Object Repository/DatePicker/Page_/day'), 'xpath','equals',xpathVal, true)
WebUI.click(newProperty, FailureHandling.OPTIONAL)






