public void ThenThePropertyShouldBeDeleted()
        {
            var ScreenshotPath = Global.SaveScreenShot.SaveScreenshot(Global.GlobalDriver.driver, "Deleting is successful", Global.CommonFeatures.ScreenshotPath);

            Thread.Sleep(1500);
            CommonFeatures.Teardown();
        }
Esempio n. 2
0
        public void ThenANewPropertyGetsAdded()
        {
            var ScreenshotPath = Global.SaveScreenShot.SaveScreenshot(Global.GlobalDriver.driver, "Adding is successful", Global.CommonFeatures.ScreenshotPath);

            Thread.Sleep(1500);
            CommonFeatures.Teardown();
        }
Esempio n. 3
0
        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();
 }
Esempio n. 5
0
 public void ThenMyNavigationIsUninterrupted()
 {
     CommonFeatures.Teardown();
 }
 public void ThenMyNavigationShouldBeWorkingUninterrupted()
 {
     CommonFeatures.Teardown();
 }
Esempio n. 7
0
 public void ThenICanSeeMyHomepage()
 {
     CommonFeatures.Teardown();
 }
Esempio n. 8
0
 public void ThenIAmSuccessfulToSignoutAndReachLoginPage()
 {
     CommonFeatures.Teardown();
 }
Esempio n. 9
0
 public void ThenPropertyIsSortedByName()
 {
     CommonFeatures.Teardown();
 }