/// <summary> /// click show filter button /// </summary> /// <returns>Workflows</returns> public StudentProfileWorkflows BenchmarkTestsTabShowFilters() { if ((SchoolDistrictWorkflows.StudentDetailPage == null) || (SchoolDistrictWorkflows.StudentDetailPage.Tabs[StudentDetailTabs.BenchmarkTestsAllTests] == null)) { throw new Exception("Navigate to the StudentDetailPage before trying to use this workflow."); } BenchmarkTestsTabAllTestsView benchmarkView = ((BenchmarkTestsTabAllTestsView)SchoolDistrictWorkflows.StudentDetailPage.Tabs[StudentDetailTabs.BenchmarkTestsAllTests]); SchoolDistrictWorkflows.StudentDetailPage = (StudentDetailPage)benchmarkView.Form.SelectShowFilters(); return(this); }
/// <summary> /// at benchmark tab, view with all tests. /// click on first test for a subject (ie ELA or Computer Science) /// </summary> /// <returns>Workflows</returns> public StudentProfileWorkflows BenchmarkTestsTabSelectTestNameForSubject(string subject) { if ((SchoolDistrictWorkflows.StudentDetailPage == null) || (SchoolDistrictWorkflows.StudentDetailPage.Tabs[StudentDetailTabs.BenchmarkTestsAllTests] == null)) { throw new Exception("Navigate to the StudentDetailPage before trying to use this workflow."); } BenchmarkTestsTabAllTestsView benchmarkView = ((BenchmarkTestsTabAllTestsView)SchoolDistrictWorkflows.StudentDetailPage.Tabs[StudentDetailTabs.BenchmarkTestsAllTests]); if (subject == BenchmarkTestsTabAllTestsViewGridNames.ELA) { BenchmarkTestsTabOneTestView nextBenchmarkView = (BenchmarkTestsTabOneTestView)benchmarkView.Form.ELAGridSelectTestName(); } return(this); }