Forum Discussion
What does Object Spy show? What methods are available? Have you tried to record the desired activities to see what happens? If so, what were the results?
Hi Robert,
Thanks for the reply :-)
Right now case is, while selecting any Child node/Subchild node in Tree View Control total form is getting selected. Please check the attached Screenshots for better clarity.
The displayed value from the Object Spy, i kept in the Run Code Snippet then so many properties are displayed, here i am mentioning few of them like: Child, ChildCount, ChildNodes, Children, ClasName, Clear Attributes, Click, ContenText, DblClick, Find, FindAll, FindAllChildren, FindChild, FindChildByXpath, FindId....
I can record the scenario by selecting one or multiple child node checkbox(es) but it will be static, means everytime it will select the same recorded checkbox, but i need to select different checkboxes every single time.
Thanks and Regards,
Gaurav Singh
- tristaanogre7 years agoEsteemed Contributor
The Object Spy screenshot does not show the completed Object Spy.... after you highlight the object, let go with the mouse so it can resolve the object properties.
- GauravSingh7 years agoOccasional Contributor
Hi Robert,
As i mentioned, while taking object spy on the nodes total Tree view control window/table is getting selected. Even we tried to perform actions by record / playback option to generate the code but generated code of those actions are also highlighting the total tree view component window.
Please find the below 3 lines of code which having the same exact properties for the actions we performed.
Aliases.browser.MainPage.formForm1.panel.panel2.panel.frameAppbody.frameBodyframe.formForm1.tableTt.cell.tableTable1.cellMaintd18 (To expand the parent node)
Aliases.browser.MainPage.formForm1.panel.panel2.panel.frameAppbody.frameBodyframe.formForm1.tableTt.cell.tableTable1.cellMaintd18 (To expand the child node)
Aliases.browser.MainPage.formForm1.panel.panel2.panel.frameAppbody.frameBodyframe.formForm1.tableTt.cell.tableTable1.cellMaintd18 (To select the subchild node checkbox)Please check highlighted performed actions in the the screenshot.
Thanks and Regards,
Gaurav Singh
- tristaanogre7 years agoEsteemed ContributorWe still need to see the properties and methods of whatever is in object spy. Without that, we cannot really give you much.
Related Content
- 11 years agoVasanthVijay
- 5 years agoADHDude
Recent Discussions
- 12 hours agosimonaferrara
- 21 hours agoSubhraDas