Executing a Script in the Debugger

Once you have set one or more breakpoints in your test script or your keyword-driven test script, perform the following actions to execute the script:

  1. In the Silk Test Classic menu, click Debug > Run. Silk Test Classic executes the script until it reaches the line in which the first breakpoint is located, until an error occurs, or until the script ends. A blue arrow marks the line where Silk Test Classic stopped running the script.
  2. Click Debug > Continue. Silk Test Classic executes the script until it reaches the line in which the first breakpoint is located, until an error occurs, or until the script ends.
  3. Perform the following actions as required:
    • Click Debug > Step Into to execute the current line in the active script or in a file that is called by the active script. This action is available only if the execution has stopped at a breakpoint. If the current line contains a function call, control passes into the function and the execution stops at the first statement in the function.
    • Click Debug > Step Over to execute the current line of code in the active script or in a file that is called by the active script, without stepping into any functions called by the current line. The execution stops at the next statement. This action is available only if the execution has stopped at a breakpoint.
    • Click Debug > Run to Cursor to execute the script until the line containing the cursor.
    • Click Debug > Finish Function to execute the script until the current function returns.