public void GivenNavigateToPackages()
 {
     basic.LoginFlow(driver);
     mainMenuPageObject.ClickPricingManagementHeader();
     priceManagmentDropDownPageObject.ClickPackages();
     packagesScreenPageObject.CheckPackagesLoaded();
 }
 public void WhenINavigateToPricingManagementPackages()
 {
     basic.LoginFlow(driver);
     mainMenuPageObject.ClickPricingManagementHeader();
     priceManagmentDropDownPageObject.ClickPackages();
     packagesScreenPageObject.WaitUntillLoaded();
     packagesScreenPageObject.ClickSearchInput();
     actions.SendKeys("owasp test").Perform();
     packagesScreenPageObject.CheckPackagesLoaded();
     Thread.Sleep(1500);
 }
Exemple #3
0
        public void GivenINavigateToPricingManagementPackages()
        {
            Basic basic = new Basic();

            basic.LoginFlow(driver);
            MainMenuPageObject mainMenuPageObject = new MainMenuPageObject(driver);

            mainMenuPageObject.ClickPricingManagementHeader();
            PriceManagmentDropDownPageObject priceManagmentDropDownPageObject = new PriceManagmentDropDownPageObject(driver);

            priceManagmentDropDownPageObject.ClickPackages();
            PackagesScreenPageObject packagesScreenPageObject = new PackagesScreenPageObject(driver);

            packagesScreenPageObject.CheckPackagesLoaded();
        }
        public void GivenOpenUpThePackageScreen()
        {
            calculatedValueBeforeAddingCriteria = sqlInit.SqlConnector("SELECT * FROM [eBate-Test].[dbo].[RebateTransaction] where Id = 2927");
            driver.Manage().Window.Maximize();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
            driver.Navigate().GoToUrl("https://app.test.e-bate.net/login");
            basic.LoginFlow(driver);
            mainMenuPageObject.ClickPricingManagementHeader();
            priceManagmentDropDownPageObject.ClickPackages();
            packagesScreenPageObject.CheckPackagesLoaded();
            packagesScreenPageObject.ClickSearchInput();
            Actions action = new Actions(driver);

            action.SendKeys("1592576148").Perform();
            Thread.Sleep(2000);
            packagesScreenPageObject.SelectFirstRow();
            packagesScreenPageObject.ClickActionViewButton();
        }