public void PopulateField(CreateToolInstancePopup.ToolInstanceFileds field, string value) { var el = this.Driver.Find(this.FieldsLocators[field]); el.SendKeys(Keys.Control + "a"); el.SendKeys(Keys.Delete); if (value != null) { el.SendKeys(value); } }
public string GetToolCreationFieldPlaceholder(CreateToolInstancePopup.ToolInstanceFileds field) { return(App.Pages.ToolsPages.NewToolPopup.GetFiledPlaceFolder(field)); }
public string GetFiledPlaceFolder(CreateToolInstancePopup.ToolInstanceFileds field) { return(Driver.Find(this.FieldsLocators[field]).GetAttribute("placeholder")); }