e-nms_qa_automation/locators/text_locators.py

17 lines
775 B
Python
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

"""Модуль text_locators содержит локаторы текстовых элементов.
Класс TextLocators предоставляет XPath локаторы для работы
с текстовыми элементами на страницах приложения.
"""
class TextLocators:
"""Локаторы для текстовых элементов на странице.
Содержит XPath локаторы для:
TITLE_LICENSE_INPUT_FORM (str): заголовка формы ввода лицензии
LICENSE_ID (str): отображаемого ID лицензии (выделяемый текст)
"""
TITLE_LICENSE_INPUT_FORM = "//span[@class='title']"
LICENSE_ID = "//span[@class='title text_select']"