AddLocator

Parent Previous Next

AddLocator

Описание: метод создает локатор и добавляет его в общее хранилище локаторов

Синтаксис: AddLocator(string name, string type, string value, string description)

Возвращаемое значение: отсутствует


Пример:

tester.AddLocator("inputLogin", Tester.BY_XPATH, "//input[@id='login']", "Поле для ввода логина");

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator