public bool SearchFor(string item) { Open.Click(); SearchBox.WaitTilIsVisible(); SearchBox.SearchFor(item); return(true); }
public bool SelectItem(string item) { bool WasSelected = false; Open.Click(); //open the dropdown BRBaseWidget m_dropDownList = DropDownList; m_dropDownList.WaitTilIsVisible(); string sel = "//li/div[contains(@class, 'select2-result-label')][contains(text(),'" + item + "')]"; BRBaseWidget m_theItem = new BRBaseObjects.BRBaseWidget(sel, LocatorTypes.XPATH, "dropdownItem", item); m_theItem.WaitTilIsVisible(); m_theItem.Click(); WasSelected = true; return(WasSelected); }
public void ClickOpenButton() { Open.Click(); }