GetAttributeFromElementAsync

Parent Previous Next

GetAttributeFromElementAsync

Description: the method returns a lowercase value from the specified attribute in the selected element

Syntax: GetAttributeFromElementAsync(string by, string locator, string attribute)

Return value: string


Example:

string value = await tester.GetAttributeFromElementAsync(Tester.BY_CSS, "input", "name");


string value = await tester.GetAttributeFromElementAsync(Tester.BY_XPATH, "//input", "name");

Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy