public void AppendText(Func<IElement> element, string text) { var el = element() as Element; if (el.IsText) { var txt = new WatiNCore.TextField(this.browser.DomContainer, el.AutomationElement.NativeElement); txt.AppendText(text); } }
public void AppendText(Func <IElement> element, string text) { var el = element() as Element; if (el.IsText) { var txt = new WatiNCore.TextField(this.browser.DomContainer, el.AutomationElement.NativeElement); txt.AppendText(text); } }
public void AppendText(ElementProxy element, string text) { this.Act(CommandType.Action, () => { var el = element.Element as Element; if (el.IsText) { var txt = new WatiNCore.TextField(this.ActiveDomContainer, el.AutomationElement.NativeElement); txt.AppendText(text); } }); }
public void AppendText(ElementProxy element, string text) { this.Act(CommandType.Action, () => { var el = element.Element as Element; if (el.IsText) { var txt = new WatiNCore.TextField(this.ActiveDomContainer, el.AutomationElement.NativeElement); txt.AppendText(text); } }); }