June 2017
Intermediate to advanced
256 pages
5h 38m
English
In testing, we generally have scenarios where we have multiple combinations of input and different outputs for the same set of steps, such as the log-in combination and some other business calculation. Scenario Outline helps express these scenarios in a much better way by letting us express the scenario once and giving us an option to provide multiple sets of data in the Examples section. Let's take a look at the given example:
Feature: Log in Scenario: Log in - right email/password input Given I launch the app When I get the user sign in screen And I enter "valid@email.com" and "valid password" Then I should see a message "Log in success" Scenario: Log in - wrong email input Given I launch the app When I get the user ...
Read now
Unlock full access