Geeks Talk

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.

Treeview control access

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 ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 01-24-2008
Junior Member
 
Join Date: Dec 2007
Location: London
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
PatrickSeurre is on a distinguished road
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?
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 10:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved