Monday, November 23, 2015
2015.11.23
Practically use scenario outline
Last Friday I learned about Scenario outline for automation testing. Scenario outline causes to reduces number of feature files which are written for a system. Just assume if we have a feature file with 3 scenarios and each of them are having 5 steps. In that case we have to write 15 feature file step definitions to execute the feature file. But by having scenario outline, there we need to use only 5 feature file steps and 2 step definition files only to execute this by using a data table. Actually, this is the very much of advantage that we can gained from learning about scenario outline.
In that case I execute a feature file by using scenario outline. I have mentioned the scenario and step definition files at below.
Feature file steps
Step definition files
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment