Beispiel #1
0
        public void CheckSchoolCensusSectionExists()
        {
            bool isExists = false;

            NavigateToReturnPage();
            Wait.WaitTillAllAjaxCallsComplete();

            TabComponent objTab = new TabComponent();

            isExists = objTab.CheckTabExists(Constant.SchoolSummaryTab);

            if (isExists)
            {
                objTab.ClickTab(Constant.SchoolSummaryTab);
                Wait.WaitTillAllAjaxCallsComplete();

                TabComponent objSection = new TabComponent();
                isExists = objSection.CheckTabElementExists(SeleniumHelper.AutomationId(Constant.SchoolCensusSection));

                if (isExists)
                {
                    IWebElement dateElement = objSection.GetTabElement(SeleniumHelper.NameAttribute(Constant.CensusDate));

                    if (string.IsNullOrEmpty(dateElement.GetValue()))
                    {
                        Assert.IsTrue(false);
                    }
                }
                else
                {
                    Assert.IsTrue(false);
                }
            }
            else
            {
                Assert.IsTrue(false);
            }
        }
Beispiel #2
0
        public string CreateNewApplication(string forename, string surname, string gender, string dateOfBirth, string admissionGroup)
        {
            SeleniumHelper.Get(By.CssSelector("a[title=\"Add New Application\"] > span.toolbar-text")).Click();
            Thread.Sleep(2000);
            SeleniumHelper.Get(By.Name("LegalForename")).Clear();
            SeleniumHelper.Get(By.Name("LegalForename")).SendKeys(forename);

            SeleniumHelper.Get(By.Name("LegalSurname")).Clear();
            SeleniumHelper.Get(By.Name("LegalSurname")).SendKeys(surname);

            By loc = By.Name("Gender.dropdownImitator");

            BaseSeleniumComponents.WaitForAndGet(loc);
            SeleniumHelper.Get(loc).ChooseSelectorOption(gender);

            SeleniumHelper.Get(By.Name("DateOfBirth")).Clear();
            SeleniumHelper.Get(By.Name("DateOfBirth")).SendKeys(dateOfBirth);

            SeleniumHelper.Get(By.CssSelector(SeleniumHelper.AutomationId("continue_button"))).Click();
            Thread.Sleep(1000);

            loc = By.CssSelector("div[data-section-id='dialog-detail'] [name='AdmissionGroup.dropdownImitator']");
            BaseSeleniumComponents.WaitForAndGet(loc).ChooseSelectorOption(admissionGroup);

            loc = By.Name("EnrolmentStatus.dropdownImitator");
            BaseSeleniumComponents.WaitForAndGet(loc).ChooseSelectorOption("Single Registration");

            SeleniumHelper.Get(By.CssSelector(SeleniumHelper.AutomationId("create_record_button"))).Click();
            Thread.Sleep(5000);

            var afterSpliItems = SeleniumHelper.Get(By.CssSelector(SeleniumHelper.AutomationId("well_know_action_save")))
                                 .GetAttribute("data-ajax-url")
                                 .Split('/')
                                 .ToList();
            string learner_id = afterSpliItems.LastOrDefault();

            return(learner_id);
        }
Beispiel #3
0
        public bool IsPupilAddressIconDisplayed()
        {
            IWebElement IconAddress = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("meaning_location_icon_basic")));

            return(IconAddress.Displayed);
        }
        //Method to login with specific user and navigate to agent add screen
        public static bool NavigateToAgentMenuPage(SeleniumHelper.iSIMSUserType userType)
        {
            //Accept the userType.
            //Switch case based on userType. To return different asserts

            SeleniumHelper.Login(userType);
            POM.Helper.Wait.WaitLoading();
            ShellAction.OpenTaskMenu();
            TaskMenuActions.OpenMenuSection("section_menu_Communications");

            switch (userType)
            {
            case SeleniumHelper.iSIMSUserType.AdmissionsOfficer:
                try
                {
                    //Can not view or add new agents.  [View -- In communications task menu entry]
                    //Returns true if agent gets listed in communication menu. Else false.
                    IWebElement AgentEntry = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                    return(true);
                }
                catch (NoSuchElementException e)
                {
                    return(false);
                }

            case SeleniumHelper.iSIMSUserType.ClassTeacher:
                try
                {
                    //Can view and add new agents. Find the add new agent option in taskbar
                    //Returns true if agent option gets listed in communication menu with Add new agent option on agent screen.
                    BaseSeleniumComponents.WaitUntilDisplayed(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                    IWebElement AgentEntry = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                    AgentEntry.Click();

                    //Check for add new agent button
                    BaseSeleniumComponents.WaitUntilDisplayed(AgentElements.MainScreen.AddNewAgentButton);
                    WebContext.WebDriver.FindElement(AgentElements.MainScreen.AddNewAgentButton);
                    return(true);
                }
                catch (NoSuchElementException e)
                {
                    return(false);
                }

            case SeleniumHelper.iSIMSUserType.CurricularManager:
                try
                {
                    //Can not view or add new agents.  [View -- In communications task menu entry]
                    //Returns true if agent gets listed in communication menu. Else false.
                    IWebElement AgentEntry = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                    return(true);
                }
                catch (NoSuchElementException e)
                {
                    return(false);
                }


            case SeleniumHelper.iSIMSUserType.SchoolAdministrator:
                try
                {
                    //Can view and add new agents. Find the add new agent option in taskbar
                    //Returns true if agent option gets listed in communication menu with Add new agent option on agent screen. Else false
                    BaseSeleniumComponents.WaitUntilDisplayed(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                    IWebElement AgentEntry = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));

                    AgentEntry.Click();

                    BaseSeleniumComponents.WaitUntilDisplayed(AgentElements.MainScreen.AddNewAgentButton);
                    //Check for add new agent button
                    WebContext.WebDriver.FindElement(AgentElements.MainScreen.AddNewAgentButton);
                    return(true);
                }
                catch (NoSuchElementException e)
                {
                    return(false);
                }

            case SeleniumHelper.iSIMSUserType.SENCoordinator:
                try
                {
                    //Can view and add new agents. Find the add new agent option in taskbar
                    //Returns true if agent option gets listed in communication menu with Add new agent option on agent screen.Else false
                    BaseSeleniumComponents.WaitUntilDisplayed(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                    IWebElement AgentEntry = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                    AgentEntry.Click();

                    BaseSeleniumComponents.WaitUntilDisplayed(AgentElements.MainScreen.AddNewAgentButton);
                    //Check for add new agent button
                    WebContext.WebDriver.FindElement(AgentElements.MainScreen.AddNewAgentButton);
                    return(true);
                }
                catch (NoSuchElementException e)
                {
                    return(false);
                }

            case SeleniumHelper.iSIMSUserType.SeniorManagementTeam:
                //Can view and add new agents. Find the add new agent option in taskbar
                //Returns true if agent option gets listed in communication menu with Add new agent option on agent screen.Else false
                BaseSeleniumComponents.WaitUntilDisplayed(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents")));
                WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_communication_Agents"))).Click();
                try
                {
                    //Check for add new agent button
                    WebContext.WebDriver.FindElement(AgentElements.MainScreen.AddNewAgentButton);
                    return(true);
                }
                catch (NoSuchElementException e)
                {
                    return(false);
                }

            default: return(false);
            }//switch case
        }
Beispiel #5
0
        public bool IsPupilEmailIconDisplayed()
        {
            IWebElement IconEmail = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("communication_email_icon_basic")));

            return(IconEmail.Displayed);
        }
Beispiel #6
0
        public static void ClickMenuItem(string link)
        {
            var cssFormat = string.Format("{0} {1}", TaskMenuId, SeleniumHelper.AutomationId(link));

            SeleniumHelper.FindAndClick(cssFormat);
        }
Beispiel #7
0
        /// <summary>
        /// Click sub menu item
        /// </summary>
        /// <param name="link">menu item unique id</param>
        public static void ClickMenuItem(string link)
        {
            var cssFormat = SeleniumHelper.AutomationId(link);

            SeleniumHelper.FindAndClick(cssFormat);
        }
        public void CloneTemplateFromToolbar(string tName, string tPurpose, bool includeInvisible = true)
        {
            string str = this.CheckResultsInTemplateSearch(tName, includeInvisible);

            IWebElement resultTile = WebContext.WebDriver.FindElement(By.CssSelector("[data-automation-id='resultTile']"));

            //    POM.Helper.SeleniumHelper.ClickByJS(resultTile);

            SeleniumHelper.ClickByJS(resultTile);
            Wait.WaitForAjaxReady(By.CssSelector(".locking-mask-loading"));
            if (new TemplateSearchScreen().IsCloneTemplateDisplayed())
            {
                cloneTemplate.ClickByJS();
                Wait.WaitForAjaxReady(By.CssSelector(".locking-mask-loading"));
                POM.Helper.Wait.WaitForElement(By.CssSelector(SeleniumHelper.AutomationId("ignore_commit_dialog")));
                IWebElement dontSaveButton = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("ignore_commit_dialog")));
                POM.Helper.SeleniumHelper.ClickByJS(dontSaveButton);
            }
            Wait.WaitForAjaxReady(By.CssSelector(".locking-mask-loading"));
            saveTemplate.Click();
        }
Beispiel #9
0
 public SelectAgencyTripletDialog AddLinkAgencies()
 {
     SeleniumHelper.FindElement(By.CssSelector(SeleniumHelper.AutomationId("add_linked_agency_button"))).Click();
     Wait.WaitForAjaxReady(By.CssSelector(".locking-mask"));
     return(new SelectAgencyTripletDialog());
 }
Beispiel #10
0
 public void ClickTeachingGroupLink()
 {
     WaitUntilDisplayed(By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_school_groups_manage_teaching_groups")));
     WaitForAndClick(new TimeSpan(0, 1, 0), By.CssSelector(SeleniumHelper.AutomationId("task_menu_section_school_groups_manage_teaching_groups")));
 }
Beispiel #11
0
 public void WaitForDialogToAppear()
 {
     BaseSeleniumComponents.WaitUntilDisplayed(By.CssSelector(SeleniumHelper.AutomationId(cssforNamePopUp)));
 }
Beispiel #12
0
        /// <summary>
        /// selects the deni return details from the search result lists
        /// </summary>
        /// <param name="status"></param>
        public IWebElement GetResultElement(string status)
        {
            SearchResults.WaitForResults();
            ReadOnlyCollection <IWebElement> searchResultCollection = SearchResults.GetSearchResults();

            foreach (IWebElement element in searchResultCollection)
            {
                ReadOnlyCollection <IWebElement> resultTiles = element.FindElements(By.CssSelector(string.Format("{0} {1}",
                                                                                                                 SeleniumHelper.AutomationId("resultTile"), "span")));
                foreach (IWebElement resultTile in resultTiles)
                {
                    if (resultTile.Text == status)
                    {
                        return(element);
                    }
                }
            }
            return(null);
        }
 public static void GoToPupilRecordScreen()
 {
     SeleniumHelper.FindAndClick(SeleniumHelper.AutomationId("quicklinks_top_level_pupil_submenu_pupilrecords"));
 }
Beispiel #14
0
 public void NavigateToPupilLog_SearchPupil(SeleniumHelper.iSIMSUserType userType = SeleniumHelper.iSIMSUserType.ClassTeacher)
 {
     SeleniumHelper.Login(userType);
     SeleniumHelper.FindAndClick(SeleniumHelper.AutomationId(PupilElements.PupilLogQuickLink));
     SeleniumHelper.FindAndClick(PupilElements.PupilLog.SearchButton);
 }
Beispiel #15
0
 public void CloseSuccessMessage()
 {
     SeleniumHelper.FindAndClick(SeleniumHelper.AutomationId("status_success"));
 }
Beispiel #16
0
        public void CheckForClonedTemplate(string tName, string tPurpose, bool includeInvisible = true)
        {
            string str = this.CheckResultsInTemplateSearch(tName, includeInvisible);

            Assert.AreEqual(str, "Record Found");
            IWebElement resultTile = WebContext.WebDriver.FindElement(By.CssSelector("[data-automation-id='resultTile']"));

            SeleniumHelper.ClickByJS(resultTile);
            POM.Helper.Wait.WaitForElement(By.CssSelector(SeleniumHelper.AutomationId("ignore_commit_dialog")));
            IWebElement dontSaveButton = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("ignore_commit_dialog")));

            POM.Helper.SeleniumHelper.ClickByJS(dontSaveButton);
        }
Beispiel #17
0
 public bool IsAddressDisplayed()
 {
     try
     {
         WebContext.WebDriver.FindElement(AddressBookElements.AddressElement);
         IWebElement Address = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("meaning_home_icon_basic")));
         TestResultReporter.Log("<b> Address -</b>   " + Address.Text);
         return(true);
     }
     catch (NoSuchElementException e)
     {
         return(false);
     }
 }
Beispiel #18
0
        public bool GetPupilBasicDetails()
        {
            var displayNamePopup = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId(cssforNamePopUp)));
            var pupilNamePopup   = displayNamePopup[0].Text; /* Popup Pupil name*/

            var displayGenderPopup = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId(cssforGenderPopUp)));
            var pupilGenderPopup   = displayGenderPopup[0].Text;

            var displayDOBPopup = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId(cssforDOBPopUp)));
            var pupilDOBPopup   = displayDOBPopup[0].Text;

            var    elements   = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId("PreferredListName_Learner"))); // Elements in result tile
            String Name       = elements[0].Text;
            int    index1     = Name.IndexOf(",");
            String PupilName1 = (Name.ToString().Substring((index1 + 2)));
            String PupilName2 = (Name.ToString().Substring(0, (index1)));
            String pupilName  = PupilName1 + " " + PupilName2;

            StringAssert.AreEqualIgnoringCase(pupilName, pupilNamePopup, "Failed");   //Verify if name displayed in the new popup is same as name in the results fetched

            TestResultReporter.Log("<b>Pupil Name - </b> " + pupilNamePopup);
            TestResultReporter.Log("<b> Gender -  </b>" + pupilGenderPopup);

            int index = pupilDOBPopup.IndexOf(':');

            TestResultReporter.Log("<b> DOB -  </b>" + pupilDOBPopup.ToString().Substring(index + 1));
            return((pupilNamePopup != null) && (pupilGenderPopup != null) && (pupilDOBPopup != null)); // All are mandatory fields
        }
Beispiel #19
0
        public int HaveAssociatedPupil()
        {
            var elements = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId("contact_card_container")));  // Elements in result tile

            return(elements.Count);
        }
Beispiel #20
0
        public static void Click(string tile)
        {
            var s = string.Format(SearchResultFormat, tile.Replace('-', '_'));

            SeleniumHelper.FindAndClick(string.Format("{0} {1}", SearchResultsSection, SeleniumHelper.AutomationId(s)));
        }
Beispiel #21
0
 public AddressBookPopup()
 {
     BaseSeleniumComponents.WaitUntilDisplayed(By.CssSelector(SeleniumHelper.AutomationId(cssforNamePopUp))); //Parul: Make changes in this as it wont be pupil always
     PageFactory.InitElements(WebContext.WebDriver, this);
 }
Beispiel #22
0
        /// <summary>
        /// Get results only for status as "Validated with Issues"
        /// </summary>
        public IWebElement GetSearchResults(string status)
        {
            var censusTripletPage = new CensusPage();

            censusTripletPage.SearchCriteria.ReturnTypeDropdown        = "School Census Return";
            censusTripletPage.SearchCriteria.ReturnTypeVersionDropdown = "Spring 2017";
            SearchCriteria.Search();
            ReadOnlyCollection <IWebElement> searchResultCollection = SearchResults.GetSearchResults();

            foreach (IWebElement element in searchResultCollection)
            {
                ReadOnlyCollection <IWebElement> resultTiles = element.FindElements(By.CssSelector(string.Format("{0} {1}",
                                                                                                                 SeleniumHelper.AutomationId("resultTile"), "span")));
                foreach (IWebElement resultTile in resultTiles)
                {
                    if (resultTile.Text == status)
                    {
                        return(element);
                    }
                }
            }
            return(null);
        }
Beispiel #23
0
        //Method to check for gender details for Pupil - Returns true if Gender details are blank.
        public bool CheckPupilGenderDetailsForBlank()
        {
            var displayGenderPopup = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId(cssforGenderPopUp)));
            var pupilGenderPopup   = displayGenderPopup[0].Text;

            TestResultReporter.Log("<b> Gender -  </b>" + pupilGenderPopup);

            return(pupilGenderPopup == "");
        }
Beispiel #24
0
        public void CensusWidgetCheck()
        {
            SeleniumHelper.Login(SeleniumHelper.iSIMSUserType.ReturnsManager);
            Wait.WaitTillAllAjaxCallsComplete();

            bool isContainsWidget = false;

            IWebElement widgetElement = WebContext.WebDriver.FindElementSafe(By.CssSelector(SeleniumHelper.AutomationId("StatutoryReturnWidget")));

            if (widgetElement.IsElementExists())
            {
                var widgetDesc = widgetElement.FindChild(By.CssSelector(".hp-tile-desc")).Text;
                if (AllWidgetDesc.Contains(widgetDesc))
                {
                    isContainsWidget = true;
                }
            }
            Assert.IsTrue(isContainsWidget);
        }
Beispiel #25
0
        public static void OpenMenuSection(string section)
        {
            var cssFormat = string.Format("{0} {1}", TaskMenuId, SeleniumHelper.AutomationId(section));

            SeleniumHelper.FindAndClick(cssFormat);
        }
Beispiel #26
0
        public bool GetStaffBasicDetails()
        {
            var displayNamePopup = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId(cssforNamePopUp)));
            var staffNamePopup   = displayNamePopup[0].Text; /* Popup Pupil name*/

            var displayGenderPopup = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId(cssforGenderPopUp)));
            var staffGenderPopup   = displayGenderPopup[0].Text;

            var    elements   = WebContext.WebDriver.FindElements(By.CssSelector(SeleniumHelper.AutomationId("search_result_tile_Staff"))); // Elements in result tile
            String Name       = elements[0].Text;
            int    index1     = Name.IndexOf(",");
            String StaffName1 = (Name.ToString().Substring((index1 + 2)));
            String StaffName2 = (Name.ToString().Substring(0, (index1)));
            String staffName  = StaffName1 + " " + StaffName2;

            //   StringAssert.AreEqualIgnoringCase(pupilContactName, pupilContactNamePopup, "Failed");   //Verify if name displayed in the new popup is same as name in the results fetched
            //Parul: Check for Title in names
            TestResultReporter.Log("<b>Staff Name - </b> " + staffNamePopup);
            TestResultReporter.Log("<b> Gender -  </b>" + staffGenderPopup);

            return((staffNamePopup != null) && (staffGenderPopup != null)); // All are mandatory fields
        }
Beispiel #27
0
 public void WaitForStatus()
 {
     //   Thread.Sleep(2000);
     BaseSeleniumComponents.WaitUntilDisplayed(new TimeSpan(0, 0, 0, 5), By.CssSelector(SeleniumHelper.AutomationId(StatusSuccess)));
 }
Beispiel #28
0
 public bool IsPupilTelephoneDisplayed()
 {
     try
     {
         WebContext.WebDriver.FindElement(AddressBookElements.TelephoneElement);
         IWebElement PupilTelephone = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("communication_telephone_basic")));
         TestResultReporter.Log("<b>Telephone Number -</b>   " + PupilTelephone.Text);
         return(true);
     }
     catch (NoSuchElementException e)
     {
         return(false);
     }
 }
Beispiel #29
0
        public string CreateNewSchoolIntake(string admissionYear, string admissionTerm, string yearGroup, string plannedAdmissions, string schoolIntakeName, string admissionGroupName, string dateOfAdmission, string capacity)
        {
            // Intake Group
            Thread.Sleep(1000);
            SeleniumHelper.Get(By.CssSelector(SeleniumHelper.AutomationId("add_button"))).Click();
            Thread.Sleep(1000);

            var loc = By.CssSelector("div[data-section-id='IntakeDetailsDependenciesSection'] [name='YearOfAdmission.dropdownImitator']");

            BaseSeleniumComponents.WaitForAndGet(loc).ChooseSelectorOption(admissionYear);
            Thread.Sleep(1000);

            loc = By.Name("AdmissionTerm.dropdownImitator");
            BaseSeleniumComponents.WaitForAndGet(loc).ChooseSelectorOption(admissionTerm);
            Thread.Sleep(1000);

            loc = By.CssSelector("div[data-section-id='IntakeDetailsDependenciesSection'] [name='YearGroup.dropdownImitator']");
            BaseSeleniumComponents.WaitForAndGet(loc).ChooseSelectorOption(yearGroup);
            Thread.Sleep(1000);

            var plannedAdmissionNumber = SeleniumHelper.Get(By.Name("PlannedAdmissionNumber"));

            plannedAdmissionNumber.Clear();
            plannedAdmissionNumber.SendKeys(plannedAdmissions);

            Thread.Sleep(1000);
            loc = By.CssSelector("div[data-section-id='IntakeDetailsDependenciesSection'] [name='Name']");
            var name = SeleniumHelper.Get(loc);

            name.Clear();
            name.SendKeys(schoolIntakeName);


            // Admission Group
            Thread.Sleep(1000);
            loc = By.CssSelector("input[name$='.Name'");
            var admissionGroupGridName = SeleniumHelper.Get(loc);

            admissionGroupGridName.Clear();
            admissionGroupGridName.SendKeys(admissionGroupName);

            loc = By.CssSelector("input[name$='.DateOfAdmission'");
            var admissionGroupGridDateOfAdmission = SeleniumHelper.Get(loc);

            admissionGroupGridDateOfAdmission.Clear();
            admissionGroupGridDateOfAdmission.SendKeys(dateOfAdmission);

            loc = By.CssSelector("input[name$='.Capacity'");
            var admissionGroupGridCapacity = SeleniumHelper.Get(loc);

            admissionGroupGridCapacity.Clear();
            admissionGroupGridCapacity.SendKeys(capacity);

            Thread.Sleep(1000);
            SeleniumHelper.Get(By.CssSelector(SeleniumHelper.AutomationId("well_know_action_save"))).Click();

            // New confirmation dialog box
            Thread.Sleep(2000);
            SeleniumHelper.Get(By.CssSelector(SeleniumHelper.AutomationId("yes,_update_any_associated_applications_button")))
            .Click();

            var afterSpliItems = SeleniumHelper.Get(By.CssSelector(SeleniumHelper.AutomationId("well_know_action_save")))
                                 .GetAttribute("data-ajax-url")
                                 .Split('/')
                                 .ToList();
            string schoolIntakeId = afterSpliItems.LastOrDefault();

            return(schoolIntakeId);
        }
Beispiel #30
0
        public bool IsPupilTelephoneIconDisplayed()
        {
            IWebElement IconTelephone = WebContext.WebDriver.FindElement(By.CssSelector(SeleniumHelper.AutomationId("communication_telephone_icon_basic")));

            return(IconTelephone.Displayed);
        }