Thursday, September 18, 2008

Run to Step & Run from Step

Example of Run to Step

Create the function as above and call it three times as I have called it in line 8, 9 and 10.

Place the cursor at line 9 and right click to choose Run to Step.

The test will run up to line 9.

Example of Run from Step

Create the function as above (msgbox “One”…to…msgbox ”Five”)

Place the cursor in the third line and right click to choose Run from Step to run the test from line 3 and skip first two lines.

You can also use the Run from Step command to run your test or function library from a selected step to the end. This enables you to check a specific section of your application or to confirm that a certain part of your test or function library runs smoothly.