Micro Focus QTP (UFT) Forums
Child nodes in a treeview - 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: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Child nodes in a treeview (/Thread-Child-nodes-in-a-treeview)



Child nodes in a treeview - vikas.sharma - 08-31-2010

Hi everyone,

I have a query and need some guidance .

The overview is as below:
When my product is installed it creates an entry of version number into registry.
When the product is upgraded it creates another entry of version number into registry.
The structure is something like
My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\xxx\yyyy\7.1.4
My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\xxx\yyyy\7.1.6
Problem is:
Using QTP i am able to reach till "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\xxx\yyyy"
But am not able to get to the version nodes as i am not aware of the versions that are installed.

Please help me out.

Regards,
Vikas Sharma


RE: Child nodes in a treeview - basanth27 - 09-01-2010

Is you aim to get the version nodes ?

If yes, then why dont you just send the path and retrieve the string which instrings with your main string.