public void SignUpAndLoginTest() { // app.Repl(); string username = Utills.ReadTestData("validCredentials", "userName"); string password = Utills.ReadTestData("validCredentials", "password"); // ReportUtill.extentTest.Log(Status.Info, "Given I Launch the App and Navigate to Sigup Screen"); LoginScreen loginScreen = new LoginScreen(app, platform); SignUpScreen signUpScreen = loginScreen.TapSignUpButton(); // ReportUtill.extentTest.Log(Status.Info, "And I Sign Up for a new account"); signUpScreen.PerformSignUp(username, password); // ReportUtill.extentTest.Log(Status.Info, "When I login to the App"); FirstPageScreen firstPageScreen = loginScreen.PerformLogin(username, password); // ReportUtill.extentTest.Log(Status.Info, "Then I confirm ,successful login"); Assert.IsTrue(firstPageScreen.QueryGoButton().Any(), "Not loged in."); }