Today we are going to learn how to use Scenario Outline and Examples in cucumber?. If you are new to cucumber functional automated testing than please go through my blog post
Cucumber basic concept
First-of-all create a feature file as LoginTest.feature and add these lines of code in that

Scenario Outlines, any

delimited tokens will be substituted with values from the example tables to corresponding step like

Scenario Outline and Examples help us to reduce line of code and it checks one scenario with different inputs.