Playing Back and Analyzing the Enhanced Script

Now that you have made several enhancements to the recorded script, play back the script and analyze the result.

  1. Perform one of the following steps:
    • Choose Actions > Playback.
    • Click Playback on the toolbar.
    The Playback dialog box opens.
  2. In the Result description text box, type Enhanced test results for the script.
  3. Click OK.
  4. If multiple browsers that are supported for replay are installed on the machine, the Select Browser dialog box opens. Select the browser and click Run. Silk Test Workbench plays back the enhanced script.
  5. Click Go to Result on the Playback Complete dialog box.

    The Result window opens to the Summary tab by default.

    The Summary tab shows that the script passed, which means it played back successfully without any errors, or failed verifications.

  6. Click the Passed (1) tab. The number in parentheses indicates the total number of verifications that passed. The Test Steps pane displays the verification step and the Result Detail column displays the pass text description of the verification.
  7. Click the Details tab to display the result of every action.
  8. In the Output window, scroll down to the line that shows the result of storing the email address to a variable. The text is similar to the following:
    jsmith@gmail.com
  9. Click the Passed tab to see the results of the verification for the model type. The text is similar to the following:
    Main:Verify Passed: The model type is correct
    The verification results also display in the Result and Result Detail columns.

Congratulations! You have successfully created a script that reliably tests the sample application. In the next lesson, you will learn about several advanced testing concepts and features such as how to quickly and easily execute a script within another script.