Precondition : In the simulated browser two buttons are present with the same name "Second"
Steps:
1)Navigate to ./testdata/ButtonTest.html
2)In the simulated browser view, click on the second button "Second" and click on add object to depot
3)Then In the simulated browser view, click on the first button "Second" and click on add object to depot
Result:
The object definition window now has three objects -The hierarchy is:
Browser_Button_Tester
| ---Button_Second |
| ---Button_Second |
Attached file:
screen shot