Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to manipulate Java JTree object in QTP
#1
Not Solved
Hi Friends,

I'm working on a Java GUI test using QTP. While QTP recognizing JTree control object as JavaTree object, I do not know hot to manipulate it, such as expanding a tree, browsing certain layer of tree or selecting a tree node. I'm running QTP 9.5.

For example:
-TreeRoot
|--SubTree1
|--Node1.1
|--Node1.2
|--SubTree2
|--Node2.1
|--Node2.2

When application startup, the tree is collapsed. First I need to know how many nodes there and then I need to select a particular one node.

Have any idea? Thanks a lot!
Reply
#2
Not Solved
Can some 1 please explain this stuff to me
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  webfile web object not identified at runtime in a java application saila123 1 2,839 02-11-2015, 08:23 PM
Last Post: Kirill
  manipulate cookies using scripts learnQtptips 1 2,193 09-27-2013, 07:26 AM
Last Post: basanth27
Sad QTP Script | how to get object of some open window just using its class type,Java sophia.sabir 1 8,899 08-07-2013, 01:26 PM
Last Post: anil2u
MyBB Is it possible to select JTree leafs by it's icon color? KUMAD 0 2,205 05-16-2013, 07:00 AM
Last Post: KUMAD
  Manipulate a manual run from QTP hammersandnails 0 2,216 05-22-2012, 03:08 AM
Last Post: hammersandnails

Forum Jump:


Users browsing this thread: 1 Guest(s)