public void ThenThePropertyShouldBeDeleted() { var ScreenshotPath = Global.SaveScreenShot.SaveScreenshot(Global.GlobalDriver.driver, "Deleting is successful", Global.CommonFeatures.ScreenshotPath); Thread.Sleep(1500); CommonFeatures.Teardown(); }
public void ThenANewPropertyGetsAdded() { var ScreenshotPath = Global.SaveScreenShot.SaveScreenshot(Global.GlobalDriver.driver, "Adding is successful", Global.CommonFeatures.ScreenshotPath); Thread.Sleep(1500); CommonFeatures.Teardown(); }
public void ThenISuccesfullyLoginToHomePage() { //verification assertion Assert.AreEqual("Dashboard", GlobalDriver.driver.Title); CommonFeatures.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Successful Login"); //To skip the alert GenericMethods.ButtonClick(Global.GlobalDriver.driver, "XPath", "/html/body/div[5]/div/div[5]/a[1]"); //closing the browser CommonFeatures.Teardown(); }
public void ThenTheResultShouldBeOnTheScreen(int p0) { // var ScreenshotPath = Global.SaveScreenShot.SaveScreenshot(Global.GlobalDriver.driver, "Adding is successful", Global.CommonFeatures.ScreenshotPath); // Thread.Sleep(1500); CommonFeatures.Teardown(); }
public void ThenMyNavigationIsUninterrupted() { CommonFeatures.Teardown(); }
public void ThenMyNavigationShouldBeWorkingUninterrupted() { CommonFeatures.Teardown(); }
public void ThenICanSeeMyHomepage() { CommonFeatures.Teardown(); }
public void ThenIAmSuccessfulToSignoutAndReachLoginPage() { CommonFeatures.Teardown(); }
public void ThenPropertyIsSortedByName() { CommonFeatures.Teardown(); }