05-20-2011, 01:18 PM
I think you should maintain a excel sheet which your script reads to run actions based on the flags (ON/OFF) set for those actions. Now what you can do here is that before your script reboots your computer you can set OFF the flag in the sheet for action 2 and save the sheet. next time when the script runs it would see action as OFF and it would not run. You can set flags to OFF for those actions which are already run so that QTP does not repeat them. let the excel sheet drive your testing