public void InvoiceTab() { this.ClickLink("INVOICE"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Verify the #cols displayed IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Invoice Information", RunTimeVars.REPEAT_TIMES); //Determine Table #Col Width max #Cols //IWebElement table = browser.FindElement(By.Id("myTable")); IWebElement table = Libary.GetPageElement(browser, RunTimeVars.ELEMENTSEARCH.ID, "myTable", RunTimeVars.REPEAT_TIMES); ReadOnlyCollection <IWebElement> tableRows = table.FindElements(By.TagName("tr")); ReadOnlyCollection <IWebElement> tableColumns = table.FindElements(By.TagName("th")); //Get Table #records var rowCount = tableRows.Count; var colCount = tableColumns.Count; //Check Table #Columns if (colCount != 14) { throw new Exception("The table #Columns Expected = 14 " + "The Actual table #Columns = " + colCount); } }
public void AccountSummaryTab() { this.ClickLink("ACCOUNT SUMMARY"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Verify the #cols displayed IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Account Information", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Provider Name", RunTimeVars.REPEAT_TIMES); //Determine Table #Col Width max #Cols //IWebElement table = browser.FindElement(By.Id("tblAccInfo")); IWebElement table = Libary.GetPageElement(browser, RunTimeVars.ELEMENTSEARCH.ID, "tblAccInfo", RunTimeVars.REPEAT_TIMES); ReadOnlyCollection <IWebElement> tableRows = table.FindElements(By.TagName("tr")); ReadOnlyCollection <IWebElement> tableColumns = table.FindElements(By.TagName("th")); //Get Table #records var rowCount = tableRows.Count; var colCount = tableColumns.Count; //Check Table #Columns //The Total #columns = the sum of both tables //Account Information table #columns = 7 //Provider Name table #columns = 6 //The sum of both tables = 6+7 = 13 var colTotal = 6 + 7; if (colCount != colTotal) { throw new Exception("The table #Columns Expected = " + colTotal + "The Actual table #Columns = " + colCount); } }
public void ApplicationQuestionsTab() { this.ClickLink("APPLICATION"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Verfiy Question 1 displayed //This page uses an IFrame, need to switch to the page IFrame //to access any page controls IWebDriver browser = TestRunnerInterface.Map.safePage.browser; //Find and switch to the iframe tag //IWebElement iframe = browser.FindElement(By.TagName("iFrame")); IWebElement iframe = Libary.GetPageElement(browser, RunTimeVars.ELEMENTSEARCH.TagName, "iFrame", RunTimeVars.REPEAT_TIMES); browser.SwitchTo().Frame(iframe); //Switch to 1st iframe //browser.SwitchTo().Frame(0); //Switch to 2nd iframe //browser.SwitchTo().Frame(1); Libary.WaitForPageText(browser, "Question 1", RunTimeVars.REPEAT_TIMES); //switch back to orginal window browser.SwitchTo().DefaultContent(); }
public void GraduationRequirementsTab() { this.ClickLink("GRADUATION REQUIREMENTS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "CURRENT STATUS", RunTimeVars.REPEAT_TIMES); }
public void BasicSearchTab() { this.ClickLink("BASIC SEARCH"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "PROVIDER NAME", RunTimeVars.REPEAT_TIMES); }
public void ParentSearchTab() { this.ClickLink("PARENT SEARCH"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "APPLICATION ID", RunTimeVars.REPEAT_TIMES); }
public void StudentSuccessPlanTab() { this.ClickLink("STUDENT SUCCESS PLAN"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "CURRENT STATUS", RunTimeVars.REPEAT_TIMES); }
public void IEPTab() { this.ClickLink("IEP"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "CURRENT IEP STATUS", RunTimeVars.REPEAT_TIMES); }
public void StatusFlagsTab() { this.ClickLink("STATUS / FLAGS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Wait for Page Information IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "CURRENT APPLICATION STATUS", RunTimeVars.REPEAT_TIMES); }
public void DocsTab() { this.ClickLink("DOCS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Wait for Docs Information IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "DOCUMENTS ON FILE", RunTimeVars.REPEAT_TIMES); }
public void FundingCategorySetupTab() { this.ClickLink("FUNDING CATEGORY SETUP"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Funding Categories", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Mappings", RunTimeVars.REPEAT_TIMES); }
public void ApplicationTab() { this.ClickLink("APPLICATION"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Legal District of Residency", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "List of Providers", RunTimeVars.REPEAT_TIMES); }
public void StudentTab() { this.ClickLink("STUDENT"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Wait for Student Information IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Student Information ", RunTimeVars.REPEAT_TIMES); //Libary.WaitForPageText(browser, "Student Home Mailing Address", RunTimeVars.REPEAT_TIMES); }
public void FinanceDocsTab() { this.ClickLink("FINANCE DOCS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Verify the #cols displayed IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "DOCUMENTS", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "DOCUMENTS ON FILE", RunTimeVars.REPEAT_TIMES); }
public void ProgramManagementTab() { this.ClickLink("PROGRAM MANAGEMENT"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Program Information", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Fund Sources", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Notification Information", RunTimeVars.REPEAT_TIMES); }
public void FinanceCommentsTab() { this.ClickLink("FINANCE COMMENTS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Verify the #cols displayed IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Comments Summary", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Comments", RunTimeVars.REPEAT_TIMES); }
public void AllocationFormTab() { this.ClickLink("ALLOCATION FORM"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Student Information", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Student", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Primary Guardian", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Application Period", RunTimeVars.REPEAT_TIMES); }
public void StatusFlagsTab() { this.ClickLink("STATUS / FLAGS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //TestRunnerInterface.Map.statusFlags.AssertStatusFlagsTabDisplay(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "CURRENT APPLICATION STATUS", RunTimeVars.REPEAT_TIMES); this.TabLoadWait(); }
public void DocsTab() { this.ClickLink("DOCS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //TestRunnerInterface.Map.docs.AssertDocsTabDisplay(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "DOCUMENTS ON FILE", RunTimeVars.REPEAT_TIMES); this.TabLoadWait(); }
public void StaffTab() { this.ClickLink("STAFF"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); TestRunnerInterface.Map.staffTab.AssertStaffTabDisplay(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "indicates ODE Approval needed", RunTimeVars.REPEAT_TIMES); this.TabLoadWait(); }
public void GeneralTab() { this.ClickLink("GENERAL"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //TestRunnerInterface.Map.general.AssertGeneralTabDisplay(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "PROVIDER/PROGRAM STATUS INFO", RunTimeVars.REPEAT_TIMES); this.TabLoadWait(); }
public void ApplicationTab() { this.ClickLink("APPLICATION"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Wait for APPLICATION Information IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Application Information", RunTimeVars.REPEAT_TIMES); //Libary.WaitForPageText(browser, "Legal District of Residency", RunTimeVars.REPEAT_TIMES); //Libary.WaitForPageText(browser, "List of Colleges/Universities", RunTimeVars.REPEAT_TIMES); }
public void AssessmentTab() { this.ClickLink("ASSESSMENT"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Student Information", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "INSTRUCTIONS FOR MANUAL ENTRY", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Student's Assessments", RunTimeVars.REPEAT_TIMES); //Libary.WaitForPageText(browser, "Student's Assessment Status", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Student Assessment Comments", RunTimeVars.REPEAT_TIMES); }
public void ServicesTab() { this.ClickLink("SERVICES"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //TestRunnerInterface.Map.services.AssertServicesTabDisplay(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; //Libary.WaitForPageText(browser, "Types of Services", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Services Provided", RunTimeVars.REPEAT_TIMES); this.TabLoadWait(); }
public void CommentsHistoryTab() { this.ClickLink("COMMENTS / HISTORY"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Wait for Page Information IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Comments Summary", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Comments", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "History", RunTimeVars.REPEAT_TIMES); }
public void ParentGuardianTab() { this.ClickLink("PARENT / GUARDIAN"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Wait for Parent Guardian Information IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Students", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Primary Guardian", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Current Home Physical Address", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Current Home Mailing Address", RunTimeVars.REPEAT_TIMES); }
public void CommentsHistoryTab() { this.ClickLink("COMMENTS / HISTORY"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //TestRunnerInterface.Map.commentsHistory.AssertCommentsHistoryTabDisplay(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Comments Summary", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Comments", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "History", RunTimeVars.REPEAT_TIMES); this.TabLoadWait(); }
public void PersonnelTab() { this.ClickLink("PERSONNEL"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //TestRunnerInterface.Map.personnel.AssertPersonnelTabDisplay(RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "PERSONNEL DETAILS", RunTimeVars.REPEAT_TIMES); //Libary.WaitForPageText(browser, "AVAILABLE ROLES", RunTimeVars.REPEAT_TIMES); //Libary.WaitForPageText(browser, "ASSIGNED ROLES", RunTimeVars.REPEAT_TIMES); this.TabLoadWait(); }
public void CreditHourrsTab() { this.ClickLink("CREDIT HOURS"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Verfiy Page Table Headers IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "College", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "Term", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "INSTRUCTION DELIVERY TYPE", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "NUMBER OF CREDIT HOURS", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "SELECT", RunTimeVars.REPEAT_TIMES); }
//Create call methods to access each Program Tabs //<a href="#ui-tabs-1">STUDENT</a> //<a href="#ui-tabs-1">GENERAL</a> //<a href="#ui-tabs-2">PERSONNEL</a> //<a href="#ui-tabs-3">SERVICES</a> //<a href="#ui-tabs-4">STAFF</a> //<a href="#ui-tabs-5">DOCS</a> //<a href="#ui-tabs-6">STATUS / FLAGS</a> //<a href="#ui-tabs-7">COMMENTS / HISTORY</a> public void StudentTab() { this.ClickLink("STUDENT"); Libary.WaitForPageLoad(RunTimeVars.REPEAT_TIMES); //Wait for Student Information Edit Link //IWebDriver browser = TestRunnerInterface.Map.safePage.browser; //Libary.GetPageElement(browser, RunTimeVars.ELEMENTSEARCH.ID, "updateStudentInformation", RunTimeVars.REPEAT_TIMES); IWebDriver browser = TestRunnerInterface.Map.safePage.browser; Libary.WaitForPageText(browser, "Student Information", RunTimeVars.REPEAT_TIMES); Libary.WaitForPageText(browser, "CURRENT SSID STATUS:", RunTimeVars.REPEAT_TIMES); }