private static void NavigateToSchoolDetails() { var page = SignInPage.NavigateTo(Urlundertest); page.EnterUserId(Testuser); page.EnterPassword(Password); page.SignIn(); Reporter.Log("testing with " + Testuser + " on " + Urlundertest); var tenantPage = new SelectTenantPage(); tenantPage.ValidateElements(); tenantPage.EnterTenant("1").Submit(); var school = new SelectSchool(); school.SelectBySchoolName("Abbey Hill Primary School"); school.SignIn(); //menu var menu = new TaskMenuBar(); menu.ClickTaskMenuBar(); menu.ClickSchoolManagementLink(); menu.ClickSchoolDetailsLink(); }
// (Need to remove) private static void NavigateToSchoolDetails() { var page = SignInPage.NavigateTo("https://lab-three.sims8.com", "/iSIMSMVCClientFarm1/"); page.EnterUserId(Testuser); page.EnterPassword(Password); page.SignIn(); //Reporter.Log("testing with " + Testuser + " on " + Urlundertest); var tenantPage = new SelectTenantPage(); tenantPage.ValidateElements(); tenantPage.EnterTenant("1").Submit(); var school = new SelectSchool(); school.SelectBySchoolName("Abbey Hill Primary School"); school.SignIn(); var link = new TaskMenuBar(); link.ClickTaskMenuBar(); link.ClickSchoolManagementLink(); link.ClickSchoolDetailsLink(); }