public void CountNumberOfImagesOnPage() { test = extent.StartTest("LoginExtentReport"); LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver); searchEngineMainPage.Navigate(); Thread.Sleep(3000); searchEngineMainPage.Validate().CountImages(); Thread.Sleep(3000); }
public void DisplayNFSLogo() { test = extent.StartTest("DisplayNFSLogo"); LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver); searchEngineMainPage.Navigate(); Thread.Sleep(3000); searchEngineMainPage.Validate().ValidateLogo(); Thread.Sleep(3000); Assert.IsTrue(true); test.Log(LogStatus.Pass, "DisplayNFSLogo on Login Page"); }
public void DisplayForgotPasswordLink() { test = extent.StartTest("DisplayForgotPasswordLink"); LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver); searchEngineMainPage.Navigate(); Thread.Sleep(3000); searchEngineMainPage.Validate().ForgotpasswordLINK(); Thread.Sleep(3000); Assert.IsTrue(true); test.Log(LogStatus.Pass, "Forgot Password link is Enabled for User"); }
public void DemoReportPass() { test = extent.StartTest("DemoReportPass"); LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver); searchEngineMainPage.Navigate(); searchEngineMainPage.Login(); Thread.Sleep(3000); searchEngineMainPage.Validate().CheckforloginSuccessful(); //Assert.IsTrue(true); //test.Log(LogStatus.Pass, "Assert Pass as condition is True"); }
public void LoginExtentReport() { test = extent.StartTest("LoginExtentReport"); LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver); searchEngineMainPage.Navigate(); searchEngineMainPage.Login(); TakeScreenshot(); Thread.Sleep(3000); searchEngineMainPage.Validate().CheckforloginSuccessful(); Assert.IsTrue(true); test.Log(LogStatus.Pass, "Login Is Successfull"); }
public void LoginMainPageLoginFailed() { test = extent.StartTest("LoginMainPageLoginFailed"); LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver); searchEngineMainPage.Navigate(); searchEngineMainPage.LoginInvalidCredientials(); TakeScreenshot(); Thread.Sleep(3000); searchEngineMainPage.Validate().CheckForLoginFailure(); Assert.IsTrue(true); test.Log(LogStatus.Pass, "Login failed for Invalid Username and Password"); }
public void MainPageTtitleVarification() { test = extent.StartTest("MainPageTtitleVarification"); LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver); searchEngineMainPage.Navigate(); searchEngineMainPage.Login(); searchEngineMainPage.Validate().TitleVerification(); TakeScreenshot(); Assert.IsTrue(true); test.Log(LogStatus.Pass, "Your Login Is Successfull"); Assert.IsTrue(true); test.Log(LogStatus.Pass, "Main Page Title Workspace Has verified successfully"); }