public void GivenIAmOnECommercePageForToUploadDeathCertificate(string iaId)
        {
            var pageNavigator = new PageNavigator();

            _driver    = pageNavigator.GoToDetailsPageOffsite("r", iaId);
            Image2Path = pageNavigator.Configuration.GetValue <string>("Image2Path");
        }
示例#2
0
        public void GivenIAmOnDownloadPageForOffsiteAndSignedIn(string iaId)
        {
            var webDriver = new PageNavigator();

            _driver = webDriver.GoToDetailsPageOffsite("r", iaId);
            _driver.FindElement(By.Id("signin")).Click();
            webDriver.SingleSignOn(_driver);
        }
示例#3
0
        public void GivenIAmOnTheDetailsPageForForOffSite(string iaId)
        {
            var webDriver = new PageNavigator();

            _driver = webDriver.GoToDetailsPageOffsite("r", iaId);
            IJavaScriptExecutor js = (IJavaScriptExecutor)_driver;

            js.ExecuteScript("window.scrollTo(0, 900)");
        }
示例#4
0
        public void GivenIAmOnDetailsPageForOffsite(string iaId)
        {
            var webDriver = new PageNavigator();

            _driver = webDriver.GoToDetailsPageOffsite("r", iaId);
        }