Script Optimization Commands

1. Break

It is used to break the loop of Test Case.

Break

2. Call Method

It is used to call user-defined Methods (Group of Test Steps clubbed for re-usage or repetitive execution).

The methods can be parameterized according to the user requirements. The user can also call a method from a different file on the local machine or a remote file path, and utilize them into her/his scripts.

Selecting a Call Method step and pressing F3 would open up the respective method
Call Method

3. Continue

It allows users to immediately jump to the next iteration of the loop.

Continue

4. Exit

It allows users to exit from the current Test Case/Test Suite/Test Project.

Exit Command with Actions

Test Case

It allows users to exit from a Test Case and switch to the next consecutive Test Case.

Test Project

It allows users to exit from a Test Project and switch to the next consecutive Test Project.

Test Suite

It allows users to exit from a Test Suite and switch to the next consecutive Test Suite.

5. Fail

It allows users to introduce a user-defined failure of a Test Step/Test Case on some condition evaluation of a test case. Users can define their own failure statement in the Value column of the Fail test command.

Fail

6. Fork End

It allows users to End a forking process.

Fork End

7. Fork Start

It allows users to Start a forking process.

Fork Start

8. Loop End

It allows users to stop a defined loop of test steps after achieving a particular result.

Loop End

9. Loop Start

It allows users to start a defined loop of test steps to achieve a particular result. To start execution of a loop, the user needs to configure it using Data table.

Loop Start

Loop Start Test Command

Standard Loop : It will iterate from the first row of the selected Data table to last row

✔ Custom Loop : User needs to specify Start & End Index from which row the iteration will start and end

10. Run Command

It allows users to execute the MS-DOS Commands.

Run Command

11. Run Remote Command

It allows users to execute Linux based commands to FTP Server.

Run Remote Command

It will store Result in Target Variable.

12. While End

It allows users to stop a While loop.

While End

13. While Start

It allows users to start a While Loop. To execute this loop, the user has to mention the condition for the loop.

While Start

If step By is blank, it will step by 1 position depending on operator selection.

14. Write Message to Report

It allows users to write a particular message on the console and report window.

Write Message To Report

15. Write Variable to Data Table

It allows users to Write Source Variables into Target Data Table.

Write Variable To Data Table

About

TestingWhiz is committed to provide innovative, automated software testing solution to global enterprises and software companies for their web, mobile and cloud applications.

location

Cygnet Infotech LLC,
125 Village Boulevard,
Suite 315, Princeton,
NJ 08540, USA

PHONE | EMAIL

1-855-699-6600
info@testing-whiz.com