After I explained about meaning of Specflow and what is keyword of Cucumber framework . (Automate Test) Behavior Driven Development-Specflow #1

In this content I will show basic step to do Specflow automate. you can follow me and try to create by yourself.

Step Definition Concept

  1. Add Feature file > Create Scenario > Give When Then And steps
Add Feature file
Create Scenario > Give When Then And steps

2. Step definition > the code logic

  • When > Method
  • Then > Method
  • Given > Method
  • And > Method
Create StepDefinitions
After Create Definition > Go to Definition
Then go to file definition and ctrl+v
Create Method and logic

Then next content I will explain about type of parameter, type of verify, Dependency injection, json deserialize object, and context injection.

--

--

Piyathida San-aoun
Piyathida San-aoun

Written by Piyathida San-aoun

Software Developer Engineer In Test

No responses yet