Micro Focus QTP (UFT) Forums
Selecting child node from Wintree object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Selecting child node from Wintree object (/Thread-Selecting-child-node-from-Wintree-object)



Selecting child node from Wintree object - ajith123 - 01-29-2014

Hi ,

I want to automate a scenario using UFT 11.5(windows app), where i need to expand a parent node and to expand one of the child nodes and then select all the items under child nodes. Problem is that the items are not static. They will be updated . When i spy on the child node, it's property "all items" has the whole hierarchy ,eg root;Child node 1;root;child node 2 .Is there any way to select only the items under child node 1...Please see screen shot for reference..thanks


RE: Selecting child node from Wintree object - guin.anirban - 02-25-2014

Can you plz try with some keyboard event like select first node and while selecting last node, add shift keyboard event along with this...


RE: Selecting child node from Wintree object - supputuri - 02-26-2014

can you please share couple of screenshots (i) the childitem node (ii) subchild items/Folders that you wan to select.