Running a Single Line of a Test Script - WinRunner

You can run a single line of a test script using the Step, Step Into, and Step Out commands.

Step

Choose the Step command or click the corresponding Step button to execute only the current line of the active test script—the line marked by the execution arrow.

When the current line calls another test or a user-defined function, the called test or function is executed in its entirety but the called test script is not displayed in the WinRunner window. If you are using a startup application or startup function, it is also executed.

Step Into

Choose the Step Into command or click the corresponding Step Into button to execute only the current line of the active test script. However, in contrast to Step, if the current line of the executed test calls another test or a userdefined function in compiled mode:

  • The test script of the called test or function is displayed in the WinRunner window.
  • Startup application and function settings (Test Properties dialog box, Run tab) are not implemented.
  • Use Step or Step Out to continue running the called test.

Step Out

You use the Step Out command only after entering a test or a user-defined function using Step Into. Step Out executes to the end of the called test or user-defined function, returns to the calling test, and then pauses the test run.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics