コード例 #1
0
        public void ThenReceivedPackageDetailsScreen()
        {
            PackageEditorScreenPageObject packageEditorScreenPageObject = new PackageEditorScreenPageObject(driver);

            Assert.IsTrue(packageEditorScreenPageObject.IsPackageScreenOpened());
            driver.Close();
        }
コード例 #2
0
        public AddAgreementPopupPageObject SetEndDate()
        {
            Actions actions = new Actions(_webDriver);
            PackageEditorScreenPageObject packageEditorScreenPageObject = new PackageEditorScreenPageObject(_webDriver);

            _webDriver.FindElement(_endDate).Click();
            actions.SendKeys(Keys.Home + packageEditorScreenPageObject.GetEndDateOfParentPackage()).Perform();
            return(new AddAgreementPopupPageObject(_webDriver));
        }