Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pause through script is not working
#1
Not Solved
Hi,

I am not able to pause the QTP running script using the following code,

qtApp.Test.Pause


On executing this script, script is stopped rather than getting paused.

Do i need to pass any other arguments or is there any method i can Pause QTP.


Regards,
KP
Reply
#2
Not Solved
Hi,

To make it possible to pause a run session from an automation script, you must set the WaitOnReturn argument of the Test.Run method to False.


Thanks,
Namita
Reply
#3
Not Solved
Hi Namita,

I have used this code line
qtApp.Test.Run False

But still pause is not working. Am i need to pass any other argument to this method? or could you please correct the above mentioned code if i am wrong.



Thanks,
KP
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Script not working on 2 machines the same way Marie 8 4,742 12-01-2010, 05:09 PM
Last Post: manishbhalshankar

Forum Jump:


Users browsing this thread: 1 Guest(s)