Right now i have used the “//*[starts-with(@id,‘datepicker-03G’)]/strong” where alphabet “G” has changed to another.
So would b great if any one help me on this. Whats the solution for these kind of dynamic changes
WebUI.focus(findTestObject('Page_name/input_IdName'))
WebUI.executeJavaScript('$(\':input\').removeAttr(\'readonly\')', [])
WebUI.delay(1)
WebUI.setText(findTestObject('Page_name/input_IdName'), '2022-01-01')
you can copy this in the script.