QTP Desktop Shortcuts

Question ID: 104422

My QTP is just not recording the desktop shortcuts the same across Operation Systems (OS). I want to open an application through desktop shortcuts and it is not working at all. When I am doing same thing on Windows 7 then its fine it is recording all the steps but other OS it does not work.
I have also tried systemutil.run and even that is not working…

Marked as spam
Posted by (Questions: 22, Answers: 6)
Asked on December 5, 2011 4:56 pm
Answers (1)
Private answer

Have you tired to run SystemUtil.Run statement with the directory of the application or file? I normally right click on the desktop Icon and select Properties. Copy the 'Target' from the properties to the file attribute of the SystemUtil.Run and copy 'Start in' from the properties to the dir attribute of the SystemUtil.Run. That works most of the time.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on December 5, 2011 5:20 pm