I have a script that downloads and launches an installer file for an application that requires a reboot. I would like to resume my script's execution post-reboot. Is this possible with QTP, perhaps by using RunOnce in the registry?
[ QUOTE ]
I am not sure if you can do it with QTP. But you can write an executable (.Vbs for ex) and use it.
[/ QUOTE ]
The goal would be to resume the QTP script after reboot. If this cannot be achieved, perhaps split the QTP script into two scripts (pre reboot, post reboot), and have the .vbs executable be responsible for launching the two. Would this be the best way to tackle this?
I did this kind of job before in Watir, put the VBscript in startup or windows scheduler, update one external excel or xml file before reboot(kind of flag value) after reboot vbscript will execute the required QTP test.