Question: Explain the difference between 'Background' and 'Scenario Outline' in Cucumber.Answer: Background is used to define a set of common steps for all scenarios in a feature, while Scenario Outline is used to run the same scenario with different sets of data.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: