Neha,
 
You can use native property of javatree to iterate through the each node.

Regards
Ankit 

-----Original Message-----
From: "Ayaz Ahmed" <[email protected]>
Sent: ‎24-‎08-‎2015 08:31
To: "QTP - HP Quick Test Professional - Automated Software Testing" 
<[email protected]>
Subject: Re: Need help to select an item in java tree in QTP

Use index property to select any item within the list. 
i have a similar situation in my application and i am using index property to 
select item that collapse and expand within the list and i then select the node 
or within the the node items.

On Thursday, August 20, 2015 at 4:33:18 AM UTC-4, neha anand wrote:
HiTechies,
 
I need a minor help. Need to select an item in java tree (but not by name). The 
structure is as below:
 
a
>b
>>c1
>>c2
>>c3
>>c4
>>c5
>>c6
>>c7
>d
>e
 
b is node under a and c1...c7 are under b. I need to click the item which is 
last in the root b i.e c7 but I cant use its name. Kindly suggest the solution. 
Its urgent.
 
Thanks :)
-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to