Locator

English version ›› HatFramework ›› Class: Tester ›› Locators ››
Parent Previous Next

Locator

Description: an additional class for creating locators

Syntax

public class Locator

{

       public string name { get; set; }

       public string description { get; set; }

       public string type { get; set; }

       public string value { get; set; }

}


Example:

Locator locator = new Locator();

locator.name = "inputLogin";

locator.description = "This is the login field";

locator.type = Tester.BY_XPATH;

locator.value = "//input[@id='login']";

Created with the Personal Edition of HelpNDoc: Full-featured Documentation generator