Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to expand and collapse a tree structure in a web page
#1
Not Solved
Hi All,
The application I am testing is having a tree element. Please refer to the screenshot for the screenshot.
Like this there are many places in the web page which has this.
I am trying to write a function which will expand/collapse this tree element.The function should be generic.ie,it should work in all the sub-portlets of the web portal.

Can anyone help me here.?


Attached Files Image(s)
   
Reply
#2
Not Solved
Hi,

You need a recurcive function which will perform the action until it reach the child tree item.

Let me know if you need any help on this.
Thanks,
SUpputuri
Reply
#3
Not Solved
Hi,

You need a recurcive function which will perform the action until it reach the child tree item.

Let me know if you need any help on this.
Thanks,
SUpputuri
Reply
#4
Not Solved
Hi supputuri,
It would be helpful if you can give me an example
Thanks
qtplearner
Reply
#5
Not Solved
I need help to write a function which will click + or - as shown in the attached screenshot. Please help me in this.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,483 10-01-2019, 10:44 AM
Last Post: shilpi952
  DP Web Browser/Page issues rstimers 1 2,424 08-14-2015, 12:37 PM
Last Post: venkatesh9032
Exclamation How to get values from a Java Tree Narayanan 0 3,941 11-28-2013, 03:31 PM
Last Post: Narayanan
Question Capture Entire Web page through QTP learnQtptips 2 11,905 07-25-2013, 05:24 PM
Last Post: vinod123
  How to validate tool tip in a web page? qtplearner88 3 4,294 04-24-2013, 05:19 PM
Last Post: nucleation

Forum Jump:


Users browsing this thread: 1 Guest(s)