Forum Discussion

vex's avatar
vex
Contributor
14 years ago

Please help me figure out how I can use this control with TestComplete

First off I'm sorry for re-posting this, but it is urgent and I realized my original post really wasn't very clear, so I'm trying again.



I am testing a web app who uses a Yahoo tree view control as a very critical component of the web app.  The control layout is identical to the example on this page: http://developer.yahoo.com/yui/examples/treeview/folder_style.html



I need some assistance with the TC gurus on how I can go about using this control.  I've spent many hours in the last few days trying to find a way to use this control and it just won't work right, or ends up being absurdly complex.  I can detail everything I've tried:



- Using FindAllChildren of the whole object.  This works, and I can find folders and the like, but I can't click them because they are hidden controls.  To click them I would have to expand all of the nodes.

- Parsing the HTML code and building my own "tree" via VB Script and clicking from there.  This approach has worked best, but it only works for 1 layer deep, I can't get it to work further than that.

- Seeing if TC would use this as a javax control.  It won't.



How can one go about using this control, or am I just out of luck here?  Unfortunately, changing this control isn't an option for us, but I have to find a way to use it.



I'm really hoping someone can give me a little guidance here... :)



Thanks!

1 Reply

  • vex's avatar
    vex
    Contributor
    Bah, ignore this.  Julia helped me on my other thread.  Since it had page 2'd I didn't think someone would get to it.  :)