Пример #1
0
        public void TestCheckReportUnderGeneral()
        {
            string parentWindowHandle = WebDriverUtil.GetParentWindowHandle();

            RActions.ClickReporting();
            RActions.ClickOnReportByName();
            validation.ValidateScreenByUrl("https://cornseed-nonprod-as.azurewebsites.net/TestWebReview/Secure/Reporting/ReportPage.aspx");
            validation.ValidateTitleOfAPage("Syngenta Cornseed Reporting");
            validation.ValidateTextIsPresent("Ethanol Production Facility Claim Data", ReportTreePage.EthanolReport);
            WebDriverUtil.CloseCurrent();
            WebDriverUtil.SwitchToParentWindow(parentWindowHandle);
        }
Пример #2
0
 public void GoToHomeWithWindowHandle(string parentWindowHandle)
 {
     WebDriverUtil.SwitchToParentWindow(parentWindowHandle);
     elementUtils.ClickElement(HomePage.Home);
 }
Пример #3
0
 public void ClickBack(string parentWindowHandle)
 {
     WebDriverUtil.SwitchToParentWindow(parentWindowHandle);
     elementUtils.ClickElement(DocumentIntakeDetailsPage.Back);
 }