1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/tdRPA-tdRPA

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
faq.md 1.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
tdrpa Отправлено 24.09.2023 06:35 471405a

FAQ

1. What do the aaRole and aaState properties of Windows Native UI elements mean in tdSelector?

These are two properties of the early Windows UI automation technology MSAA (Microsoft Active Accessibility): aaRole represents the element type, and aaState represents the element state. In actual usage, these two values are rarely modified. They are used as element search conditions by selecting or deselecting them. For more information, please refer to the MSAA documentation and the "uiautomation" open-source library.

2. How to double-click a Windows Native UI element?

    aboutElement=tdcore.LocatorWindows.findElement(aboutSelector)
    aboutElement._element.DoubleClick()

The properties and methods of "_element" can be found in the "uiautomation" open-source library or by using a programming environment with code completion and intelligent suggestions.

3. How to get the link of Chrome browser address bar?

    addressElement=tdcore.LocatorWindows.findElement(addressSelector)
    valuePattern=addressElement._element.GetValuePattern()
    address=valuePattern.Value
    address
    'https://github.com/tdRPA/tdRPA'

Different UI element types have different properties and methods. For specific usage, please refer to the "UI Automation Control Patterns" documentation and the "uiautomation" open-source library.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/tdRPA-tdRPA.git
git@api.gitlife.ru:oschina-mirror/tdRPA-tdRPA.git
oschina-mirror
tdRPA-tdRPA
tdRPA-tdRPA
master