Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WORKING WITH TREE OBJECTS
#1
Not Solved
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?
Reply
#2
Not Solved
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.
Reply
#3
Not Solved
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



Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SAPGUI table tree control and QTP Ansh123 3 10,236 02-19-2014, 07:28 PM
Last Post: Ansh123
  Should i add objects to Object repository to make my scripts working? SonalBalte 4 5,086 12-04-2010, 12:04 PM
Last Post: SonalBalte
  extracting tool tip for java tree jagadeeswar 0 2,025 01-16-2009, 07:41 PM
Last Post: jagadeeswar
  Doesn't see Object tree Shina35 1 2,499 09-10-2008, 04:24 PM
Last Post: Shina35

Forum Jump:


Users browsing this thread: 1 Guest(s)