Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 11 on Win7 64B does not work with basic wintreeview
#3
Solved: 10 Years, 10 Months ago
Dear ManualTester,

Thank you so much for your codes,

Your code will launch Browse For Folder dialog, wait and capture selecting folder, rite?
It works as you said but my need is automatically select the Tree item on such dialog (the dialog is called by an AUT, not by our script)

On window XP, I simply use this following code to Expand and Select the specified folder:
Code:
Window("main").Window("dlgAddFolder").Dialog("dlgBrowseForFolder").WinTreeView("treeView").Expand "Desktop;Computer;Local Disk (C: )"
Window("main").Window("dlgAddFolder").Dialog("dlgBrowseForFolder").WinTreeView("treeView").Select"Desktop;Computer;Local Disk (C: )"

It is a problem on Win7 Sad
QTP can recognize the Tree object (object.exist -> true) but cann't perform anything on it Sad
Reply


Messages In This Thread
RE: QTP 11 on Win7 64B does not work with basic wintreeview - by qupi - 11-19-2012, 09:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does QTP Recognize IBM Work place forms 2.7??? nit_naresh 0 2,246 09-04-2011, 10:43 AM
Last Post: nit_naresh
  Is QTP10 Supports Win7 64 Bit platform OS JyotiRanjan 6 7,073 08-23-2011, 07:54 AM
Last Post: Setsuna F. Seiei
  QTP11 and WIN7 64 bit applications madankumar.jayapal 0 7,114 01-20-2011, 05:04 PM
Last Post: madankumar.jayapal
  js errors with qtp 10 on win7 vs. IE8 yaniv mendelson 2 3,987 03-15-2010, 03:52 PM
Last Post: yaniv mendelson
  Basic concept of QTP shwetap 1 2,516 11-11-2009, 04:43 PM
Last Post: Tarik Sheth

Forum Jump:


Users browsing this thread: 1 Guest(s)