Micro Focus QTP (UFT) Forums
QTP 11 not generating SystemUtil.Run statement - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP 11 not generating SystemUtil.Run statement (/Thread-QTP-11-not-generating-SystemUtil-Run-statement)



QTP 11 not generating SystemUtil.Run statement - softtest12 - 12-25-2010

Hello,

I was playing with QTP 11 and I found that QTP 11 is not generating :
SystemUtil.Run statement when I recorded flight application with the setting record "Record and run on any open windows based application".

Is it a problem with QTP 11 or is it something else.

Thanks in advance,
softtestguy



RE: QTP 11 not generating SystemUtil.Run statement - yagarules - 12-29-2010

I don't think so, sometimes QTP forgot some lines, by the way you can type de instruction manually. Hope it helps.


RE: QTP 11 not generating SystemUtil.Run statement - basanth27 - 01-03-2011

Does it do for QTP 10.0 ?


RE: QTP 11 not generating SystemUtil.Run statement - Beo - 08-09-2011

Hello,

I have freshly installed QTP 11.0 last week on a Windows Seven 64 bits plateform and I am trying to use it by converting and modifying some QTP tests from my older 9.2/9.5 versions (as also trying to make new ones).

I have an issue with the SystemUtil.Run command : it is not catched when recording.
Nevertheless it works if I write "SystemUtil.Run ..." in Expert View but I would like it to be also added/catched in my tests when recording.

I have checked the QTP help about SystemUtil.Run, it says : Note: A SystemUtil.Run statement is automatically added to your test when you run an application from the Start menu or the Run dialog box while recording a test.
I also checked the menu Tools --> Options --> Windows Applications --> Advanced --> Record settings --> Utility object : "Record SystemUtil.Run commands" is selected.

The following patches have been installed :
- QTP_00709 (Fixes for QTP 11.0)
- RRV_00013 (Fixes for QTReport 11.0)
- QTPWEB_00078 (Fixes for IE9 support)

I have also tried these threads but nothing helps :
https://www.learnqtp.com/forums/Thread-QTP-11-not-generating-SystemUtil-Run-statement
https://www.learnqtp.com/forums/Thread-SystemUtil-Run-method-is-not-getting-recorded
https://www.learnqtp.com/forums/Thread-SystemUtil-Run-stmt

Could you please help or advise ? Maybe I missed something ...

Thanks,

Beo



RE: QTP 11 not generating SystemUtil.Run statement - Saket - 08-09-2011

have tried disabling UAC in control panel?