Browser("A").Page("B").Frame("C").Image("Add a new row at row 1").Click
When I click this <+> image button,the next row with the name "TL_RUN_CTRL_GRP_EMPLID$1" will appear and I need to give the next input value. But since the index value is incrementing each time, when I tried to give the value it shows the object "TL_RUN_CTRL_GRP_EMPLID$1" is not found in the Object Repository.The same way with the image button "Add a new row at row 2".
I tried to get the index value by using getROProperty("html id") and incremented it. But when i try to set the incremented index value using setTOProperty, again it shows the same error message. Without recording the "TL_RUN_CTRL_GRP_EMPLID$1", how can I get these dynamic objects into OR?
At the moment where you add object dynamically to the screen during the run of the test, they will not be in the OR. As Tarun mentioned you will have to use descriptive programming to be able do things like: