I have 10 test cases. I want to run the scripts in a loop based on timer. (i.e.) I want to repeat the all 10 test cases after specific time. (E.g.: After 30 min). This i partially did. Problem is when one time all the test cases are over i want to show the results without terminating the running process. I dont know how to do it.
Seems to do that you will have to have something outside of the script driving the start of the test run. Doing it from within WinRunner you aren't going to be able to show the report.
Look into how to kick off scripts from the command line in the WinRunner user's guide, and you can then script something in VBScript to kick off the bat file at the needed intervals, while also allowing you to view your reports.
Insanity: doing the same thing over and over again and expecting different results
2. Select the link "Windows Server 2003 Resource Kit Tools".
3. Click the "Download" link. Choose to register or not, depending on your choice, and follow the on-screen instructions to download and install the product. The default install directory is "C:\Program Files\Windows Resource Kits\Tools\".
Once the Windows 2003 Resource Kit is installed, you may need to reboot your machine for the directory "C:\Program Files\Windows Resource Kits\Tools\" to be added to your path.
Now that the sleep command is available, to see the online help, enter the following DOS command:
Or, just issue the command:
Replace N with the number of seconds for batch file to 'sleep'. For example, a batch file can wait 5 seconds before continuing by issuing this command:
If you need to wait just a few milliseconds, issue this command: