What Is Test Script & How Do You Create A Test Script In Digital Labs?

What Is Test Script & How Do You Create A Test Script In Digital Labs?


What is Test Script?

Test Script is a set of instructions to test an application automatically. Test Scripts are a line-by-line description containing the information about the system transactions that should be performed to validate the application or system under test. Test script should list out each step that should be taken with the expected results.

Note: Test scripts play a crucial role in the quality assurance process by defining a set of instructions for testing software applications.


How to create a Test Script?

To create a test script, perform the following steps:

  1. In the Test Case Wizard, select ‘Test lab’ tab.
  2. In Test lab, click on ‘Add new Test Lab Item’. On clicking on that button, you will be provided with options – Test Script, Test Execution Log. Select Test Script.



  3. Clicking on Test Script option, ‘Create Test Script’ drawer will be opened.

  4. Fill the form as instructed below:
    1. Test Script title: Enter the test script title. This field is mandatory.
    2. Planned Test Environment: Choose the Planned environment in which the test script has to be executed. This field is optional.
    3. Step:
      1. Step Title: Enter the Step title. This field is mandatory.
      2. Step Action: Fill up the step action column if required.
      3. Step Value: Give the step value
      4. Instruction: Enter the instruction. This field is mandatory.
      5. Expected Result: Enter the expected result if needed.
  5. Use the "Add new step" button to record multiple steps in the script.


  6. Click on Submit button to create a Test Script.