Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SystemUtil.Run stmt?
#1
Not Solved
should the SystemUtil.run stmt be automatically generated when i record a test????

because it is not happening to me.

i am manually inserting the stmt.

suppose if i want to launch calculator application, then what would be the path?
i found the path to be like %system root%system32\calc.exe

but it is not working

thanks pooja
Reply
#2
Not Solved
Try this

Code:
SystemUtil.Run "calc"
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Not Solved
thanks ankur
Reply
#4
Not Solved
ya its happening to me the same.... how to correct this by displaying automatically in Vista???
Reply
#5
Not Solved
Hi Rajesh,

Try in the below given way.

Open QTP > Tools > Options > Windows Applications > click 'Advanced' button > In Advanced Windows Application window, scroll down to "Utility Objects" and Select "Record SystemUtil.Run Commands" checkbox > OK.

Now try to record once again.

Hope it would solve your problem.Smile
Reply
#6
Not Solved
While you record, select the "Record and Run Setting Guidelines for Windows-Based Add-ins " option in the "Record and Run Settings"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SystemUtil.Run is not getting recorded divyan 1 1,824 08-31-2017, 09:06 PM
Last Post: Ankur
  SystemUtil.Run method is not getting recorded pupuns2 5 8,174 05-12-2017, 01:20 PM
Last Post: Angeliks
  systemUtil.run script is not generating while recording in qtp 9.5..pls help me senthil.kumar 0 2,681 01-24-2013, 01:22 PM
Last Post: senthil.kumar
  SystemUtil.Run not recording hairylugs82 1 2,732 10-05-2012, 07:17 PM
Last Post: deepa_april
  Use systemutil.run with two plus parameters mv8167 2 5,827 05-24-2012, 08:18 PM
Last Post: mv8167

Forum Jump:


Users browsing this thread: 6 Guest(s)