/// <summary> /// Navigate App Search Rec page. Assumes the user is already logged in /// </summary> public void NavigateToSearchPage(IWebDriver driver) { // Creating a new instance keeps LogInUser() argument free; // otherwise, we'd need to call it like so: LogInUser(driver) to get the correct IWebDriver instance AppLoginLogout app = new AppLoginLogout(driver); app.LogInUser(); //_utils.ExplicitWait(driver, "loadingContainer"); _utils.Click(DriverUtilities.ElementAccessorType.ID, "loadingContainer"); _utils.Click(DriverUtilities.ElementAccessorType.XPath, "//*[@data-bind='click:MenuBar.redirectToAppRecSearch']"); }
/// <summary> /// Search TCC for a member. /// </summary> /// <param name="memberName"></param> public void SearchForMember(string memberName) { _appLog.LogInUser(); _utils.EnterText(DriverUtilities.ElementAccessorType.ID, "member-list-filter", memberName + Keys.Enter); _utils.ClickFirstResult(_driver); }