public void LogoutTest() { ExtentTest logoutTest = extent.CreateTest("LogoutTest").Info("Logout Test started"); Logout logout = new Logout(driver); logout.LogoutPage(); ((ITakesScreenshot)driver).GetScreenshot().SaveAsFile(Path + "Logout.png", ScreenshotImageFormat.Png); log.Info("Logout Test Executed Successfully"); }
public void LogoutTest() { Logout logout = new Logout(driver); logout.LogoutPage(); }