Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add windows application in QTP?
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
I have Mercury QTP 9.2. When i start recording the scripts are generated but the system util.run is not generated.When i run the test i get this error:
Cannot find the "All Programs" object's parent "Start menu" (class Window). Verify that parent properties match an object currently displayed in your application.
What to do now?
Help me friends!!!
With Regards,
Raj.
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
replace the line containing "start menu" with

systemutil.run "<path of the windows application>"
Example
systemutil.run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe"

this is used for opening the sample flight windowapplication.

Regards,
Ravi
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Use Vbscript function invokeapplication("set ur windows path")
Eg: invokeapplication("c:\windows\notepad.exe")
Note: This function is use full only for executable files(.exe) paths
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 1,119 02-13-2020, 07:34 PM
Last Post: RamUFT
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,121 06-06-2017, 11:12 AM
Last Post: workrohit08
  Script is not generated for windows application in UFT sreelatha 1 2,407 04-04-2016, 10:51 AM
Last Post: vinod123
  Selection of sub menu in Windows Desktop application Shilpa859 0 2,449 10-17-2013, 06:39 PM
Last Post: Shilpa859
  "How to perform automation on Windows application" suresz449 1 3,353 10-15-2012, 11:30 PM
Last Post: agarwl.anurag

Forum Jump:


Users browsing this thread: 3 Guest(s)