mesg2anil
13 years agoRegular Contributor
How To Click Objects Whose Property Values Keep Changing
Hi,
Please find the screenshot attached.
The table which is shown having Name and Action columns, have 10 names and 10 objects under Action column. The object which is in RED color is disabled, I want to enable the object based on the value from name column list.
For Ex:
If I'm searching GARDEN SIDE value, for this value, the object on the right hand side which is in GREEN color, I want to click that object to make it inactive. How can I do that?
Each object name will be something like Item(122), Item(123), Item(124) etc, object names might change as they are dinamically allocated. Using below code, I'm finding the name which I want...
p = RightFrame.NativeWebObject.Find("innerText", "East Facing").Message p.Name This object is currently inactive, I want to click or RED button to make it active. How to do this? Any help on this please??
Please find the screenshot attached.
The table which is shown having Name and Action columns, have 10 names and 10 objects under Action column. The object which is in RED color is disabled, I want to enable the object based on the value from name column list.
For Ex:
If I'm searching GARDEN SIDE value, for this value, the object on the right hand side which is in GREEN color, I want to click that object to make it inactive. How can I do that?
Each object name will be something like Item(122), Item(123), Item(124) etc, object names might change as they are dinamically allocated. Using below code, I'm finding the name which I want...
Set p = RightFrame.NativeWebObject.Find("innerText", "East Facing")
Log.Message p.Name '== output it shows is Item(167)
This object is currently inactive, I want to click or RED button to make it active. How to do this?
Any help on this please?
p = RightFrame.NativeWebObject.Find("innerText", "East Facing").Message p.Name This object is currently inactive, I want to click or RED button to make it active. How to do this? Any help on this please??