Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Treeview control access within the QTP forums, part of the Software Testing category; I have an application that has a treeview control down the left hand side of the window. I need to be able to find a specific node since other nodes ...
|
|||||||
|
|||
|
Treeview control access
I have an application that has a treeview control down the left hand side of the window. I need to be able to find a specific node since other nodes could be expanded or collapsed and could change the x,y coordinates that I need to pass.
QTP seems to have picked this treeview up in the resource manager and has assigned it a regexpwndclass value of TCFOLDLIST, however searching for this word on google returns zero results. The problem is that there appears to be no way of seeing the individual nodes within the treeview rather than just the treeview as a whole. For example, recording the action of clicking on the treeview control results in a click event that relates to the whole control and a set of x,y coordinates. What I would like to see and need is something that refers to the specific node that was clicked, as well as a method of finding the nodes to begin with. I've also tried using the GetTextLocation() method of the TextUtil object to attempt to locate the node myself by passing the node title and zero for the hWnd parameter, but this consistently returns 0. What am I doing wrong here and what can I do to find specific nodes within a treeview? |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Robot, Dom and Treeview Control | 300Game | Rational Robot | 2 | 06-10-2008 04:15 PM |
| Treeview Control | suji | C# | 1 | 01-29-2008 09:47 PM |
| How to build simple Treeview programatically? | pradeep_m | C# | 1 | 01-14-2008 09:18 AM |
| Access Boss is a great access management and time control utility that allows you to | JobHelper | Geeks Lounge | 0 | 07-22-2007 05:40 AM |
| Data Access Layer For Microsoft Access | Lokesh M | VB.NET | 0 | 12-02-2006 11:35 AM |