How can I declare a object that value change every time.
First please check below object
Set obj = page.FindChild("TextNode", "vglwaterresistance_2_SystemDefinedSaveButton_label")
Here, Textnode value changed every time when run application
chnaged like below
vglwaterresistance_3_SystemDefinedSaveButton_label
vglwaterresistance_4_SystemDefinedSaveButton_label
I have highlight the changes.. how can i declare a object that accept any value.
It's possible you may need to select different property/value pairs to identify the object.
Also.... I'm not sure you have the correct syntax for FindChild. The first parameter should be the property name (ObjectType, Caption, etc) the second parameter should be property value. It looks like you have two values instead. Please review the syntax of the FindChild at