Looking for something in particular?

Switch Test Step

A Switch statement selects one of several alternatives based on the value of an integer, a character, or a string variable. Once a match is found, only the steps in that case will be executed.

Drag the Switch test step from the Test Palette into your test case:

Update the following parameter:

Value: The value to switch on the case

Switch statements come with one case by default. To add a case or a default case, right-click on the Switch test step and select the Add a Case/Default Clause option:

Then, save the test case.

Find more information on Switch API here.

Review Provar on G2
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top