public void WhenUserLogsInWithAnd(string username, string password)
 {
     UAbl = new UserAccountBL(_sceneriocontext);
     Assert.IsTrue(UAbl.invoke());
     Assert.IsTrue(UAbl.createLoginBody(username, password, "ApplicationUser/Login"));
     Assert.IsTrue(UAbl.executereq());
 }
 public void WhenUserRegisterANewUserWith(string Email, string FullName, string UserName, string Password)
 {
     UAbl = new UserAccountBL(_sceneriocontext);
     Assert.IsTrue(UAbl.invoke());
     Assert.IsTrue(UAbl.createRegBody(Email, FullName, UserName, Password, "ApplicationUser/Register"));
     Assert.IsTrue(UAbl.executereq());
 }
 public void ThenUserRegisterANewUserWithInTheRegisterationForm(string Email, string FullName, string username, string password)
 {
     userAccountBL = new UserAccountBL();
     Assert.IsTrue(userAccountBL.fillupRegistrationform(username, password, Email, FullName));
     Assert.IsTrue(userAccountBL.clickOnBtn("Signup"));
 }