How to create Test in SCRIPT mode

Estimated reading time: 1 minute

Today we will learn :

  1. What is script mode
  2. How to create test in script mode
  3. Run and validate

Test Case Creation modes in Katalon Studio :

  1. Record & Playback
  2. Manual mode
  3. Script mode

Script Mode in Katalon Studio :

  • Create Test with Scripts
  • Use keywords (built-in/custom) to create scripts
  • Java Groovy

We will automate this test…

  1. Open Browser
  2. Goto url: http://lifecharger.org/
  3. Perform actions : click text checkpoints
  4. Close Browser

How are we going to automate this…

  • Step 1 – Capture Objects to be used in the test
  • Step 2 – Create a new test case – goto script editor
  • Step 3 – Create test in script mode
  • Step 4 – Run and validate

How to skip steps in test run : Add annotation not_run: to exclude the step in script mode

In manual mode

  • Right click – disable
  • Will do the same thing

Excluded steps will be shown in report as Not_Run

Like on Facebook 

Subscribe on Youtube.

Note: This video is contributed by Raghav Pal.