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.
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.
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 )