public void SearchDL(string email, string displayName) { string searchString; if (displayName == "") { MailAddress addr = new MailAddress(email); searchString = addr.User; } else { searchString = displayName; } SeleniumHelperMethods.ObjectSearchBar(DriverContext.Driver, searchBarMailboxElem, btnSearch, headerProgressElem, headerProgressElemBy, searchString); }
public void SearchPublicFolder(string email, string displayName) { string searchString; if (string.IsNullOrEmpty(displayName)) { var addr = new MailAddress(email); searchString = addr.User; } else { searchString = displayName; } SeleniumHelperMethods.ObjectSearchBar(DriverContext.Driver, searchBarMailboxElem, btnSearch, headerProgressElem, headerProgressElemBy, searchString); }
public void SearchOrganizationName(string objectName) { SeleniumHelperMethods.ObjectSearchBar(DriverContext.Driver, searchBarOrganization, btnSearch, headerProgressElem, headerProgressElemBy, objectName); //Thread.Sleep(1000); }