SetTextInElementAsync
Description: the method inserts text into the specified element
Syntax:
SetTextInElementAsync(string by, string locator, string text)
SetTextInElementAsync(Locator locator, string text)
Return value: no return value
Example:
await tester.SetTextInElementAsync(Tester.BY_CSS, "#auth > h2", "text");
await tester.SetTextInElementAsync(Tester.BY_XPATH, "//div[@id='auth']//h2", "text");
await tester.SetTextInElementAsync(tester.GetLocator("locatorName"), "text");
Created with the Personal Edition of HelpNDoc: Free help authoring tool