コード例 #1
0
        private void GoToSearchPage()
        {
            _userLoginLogout.LoginUser(_userData.GetEmail(), _userData.GetPassword());

            _utilsValidation.ExplicitWait(DriverUtilities.ElementAccessorType.ID, "loadingContainer", 30);
            _utilsValidation.Click(DriverUtilities.ElementAccessorType.ID, "loadingContainer");
            _utilsValidation.Click(DriverUtilities.ElementAccessorType.XPath, "//*[@data-bind='click:MenuBar.redirectToAppRecSearch']");
        }
コード例 #2
0
        /// <summary>
        /// Search for a member from the Member List page.
        /// </summary>
        /// <param name="name">Target member to search for</param>
        public void MemberSearch(string name)
        {
            _userLoginLogout.LoginUser(_userData.GetEmail(), _userData.GetPassword());

            // Enter member name into search box
            _utilsValidation.EnterText(DriverUtilities.ElementAccessorType.ID, "member-list-filter", name + Keys.Enter);

            // Click result link
            _utilsValidation.ExplicitWait(DriverUtilities.ElementAccessorType.XPath, "//*[@data-bind='text: Name']", 30);
            _utilsValidation.Click(DriverUtilities.ElementAccessorType.XPath, "//*[@data-bind='text: Name']");
        }