How to generate Systemutil.run command automatically while recording?

I have QTP 9.2(Mercury) when i record a test the scripts are generated but the very first line (i.e)systemutil.run is not generated and while running the test i get the message as cannot find all programs object parent.

Showing Answers 1 - 3 of 3 Answers

Navigate to Tools Menu -> Options -> Windows Applications
Here Click on "Advanced" button and the scroll down
You will see "Utility Object"
Select the "Record SystemUtil.Run commands"
Click on OK button.
Record & check.

As for message "Cannot find all programs object parent." See for instance if you have any login / authentication form then you have to include that also, otherwise you will get "Cannot find all programs object parent."

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions