Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Login Steps class
using TechTalk.SpecFlow;
namespace TatAuto.Tests
{
    [Binding]
    public class LoginSteps
    {
        [Given(@"I Navigate to the Login page")]
        public void GivenINavigateToTheLoginPage()
        {
            ScenarioContext.Current.Pending();
        }
        
        [When(@"I Login with Username '(.*)' and Password '(.*)' on the Login Page")]
        public void WhenILoginWithUsernameAndPasswordOnTheLoginPage(string p0string p1)
        {
            ScenarioContext.Current.Pending();
        }
        
        [Then(@"the User Name '(.*)' Should be seen on the Dashboard Page")]
        public void ThenTheUserNameShouldBeSeenOnTheDashboardPage(string p0)
        {
            ScenarioContext.Current.Pending();
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment