Specflow and assist helpers | Selenium Webdriver Tutorial with c# |Selenium C# training
10% Off Discount Avail now

Selenium C# Training Forum

Specflow and assist helpers

Anita Post on 14/10/2019

fetaure file:


Scenario Outline: Login using valid credentials
Given I have navigated to the  application
When I have enter valid <UserName> and <Password>
And I click Login Button
| UserName | Password |
| admin | Password@123 |
| Aagent2 | Password@123 |


steps file:


[When(@"I have enter valid (.*) and (.*)")]
public void WhenIHaveEnterValidSadminAndPassword(Table table)

IEnumerable<dynamic> credentials = table.CreateDynamicSet();
foreach (var users in credentials)


when I run this, it opens the browser 2 times and do not insert the username and firstname in the website.

Any help please