Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP vb treeview object recognition error
#1
Not Solved
Dear all,

I want to double-click "PCA" in vb treeview windows. ("PCA" can be seen after expanding "EXE"—"Tags")

Code:
Code(Generate by "record" ):
VbWindow("frmMain").ActiveX("ActiveSizer Control").ActiveX("SSTab").VbTreeView("TreeView1").Activate "Electronic Catalog;Projects;EXE"
VbWindow("frmMain").ActiveX("ActiveSizer Control").ActiveX("SSTab").VbTreeView("TreeView1").Activate "Electronic Catalog;Projects;EXE;Tags"
VbWindow("frmMain").ActiveX("ActiveSizer Control").ActiveX("SSTab").VbTreeView("TreeView1").Activate "Electronic Catalog;Projects;EXE;Tags;PCA"

The first two steps work well, but the last step fails.
Related charts are shown below.

Please help me out, thanks!


Attached Files Image(s)
       
Reply
#2
Not Solved
Looks like something to do with folders and non-folders. I would start with spying on those folders and comapring the properties of folders vis-a-vis PCA. It should provide some info. Let me know how it goes.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 1,101 06-17-2019, 12:19 PM
Last Post: Treirk
  Intermitent "Object not visible" error erodpr 5 3,501 01-14-2016, 10:55 AM
Last Post: vinod123
  ERROR : Object reference not set to an instance of an object. Suyashxp 2 7,230 12-30-2014, 11:32 AM
Last Post: ursprasadp
  object recognition issue by qtp 11.0 shipu 1 2,525 07-24-2014, 05:57 PM
Last Post: Ankesh
  General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" AshokReddy 3 5,059 12-20-2013, 01:44 PM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)