コード例 #1
0
        public void GivenIAmOnDiscoveryDetailsPageForStaffin(string iaId)
        {
            var webDriver = new PageNavigator();

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

            js.ExecuteScript("window.scrollTo(0, 600)");
        }
コード例 #2
0
        public void GivenIAmOnDiscoveryDetailsPageForStaffinSignedIn(string iaId)
        {
            var webDriver = new PageNavigator();

            _driver = webDriver.GoToDiscoveryDeliveryOptionsPage("r", iaId);
            _driver.FindElement(By.Id("signin")).Click();
            webDriver.SingleSignOn(_driver);
            IJavaScriptExecutor js = (IJavaScriptExecutor)_driver;

            js.ExecuteScript("window.scrollTo(0, 1000)");
        }
コード例 #3
0
        public void GivenIAmOnDetailsPageFor(string iaId)
        {
            var webDriver = new PageNavigator();

            _driver = webDriver.GoToDiscoveryDeliveryOptionsPage("r", iaId);
        }
        public void GivenIAmOnDeliveryOptionsPageForFileAuthority(string iaId)
        {
            var webDriver = new PageNavigator();

            _driver = webDriver.GoToDiscoveryDeliveryOptionsPage("c", iaId);
        }