Posts: 3
Threads: 2
Joined: Feb 2011
Reputation:
0
09-25-2011, 04:07 PM
hi,
I am trying to get sublinks of "My Transactions" in IRCTC.
Step 1: Login with valid username and password to IRCTC site.
Step 2: Expand My transactions under plan my travel.
Step 3: Get the child links for this tree.
Can any one help me in this?
Posts: 127
Threads: 9
Joined: Apr 2010
Reputation:
0
09-27-2011, 12:43 AM
If "My Transactions" and "User Profile" are same object type then you click on "My Transactions" and store the link values until it reaches to "User Profile".
Need to use ChildObject and 'For' loop.
Use certain criteria to get values in between as well as exiting from the For loop.
Posts: 3
Threads: 2
Joined: Feb 2011
Reputation:
0
10-18-2011, 04:51 PM
Thanks for your reply.
The problem is Services and My Transactions in IRCTC are treated as webelements. and links under these tree menus are not coming under these webelements. parent of links is displayed as FROM table. mean there is only one table for left pane and all are children of one table. in that case if i want to find which link is displayed under which tree, how can i do it
For ex: under My Transactions if i expand this i could able to see booked e-ticket, cancel e-ticket, booked ticket status etc....
for all these links My transactions is not the parent. In the same way i have to find links under services also