activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo.
UiPath logo, featuring letters U and I in white
Atividades do UIAutomation
Last updated 25 de nov de 2024

Enable UI Automation support in DevExpress

To enable UI Automation support in DevExpress, you need to follow these steps:

  1. Use this link to download the DevExpressFix.zip file and then:
    1. Build the DevExpressFix.dll file from the project using the C# project from the archive, or
    2. Use the DLL file already built, which is also available in the .zip file (DevExpressFix\bin\Release\DevExpressFix.dll).
  2. Add an Inject .NET Code activity to the workflow, that should inject and execute the .NET library code in the context of the target application built on top of the DevExpress framework.
  3. Under the Assembly property, enter the full path to the DevExpressFix.dll file.
  4. Under the Type Name property, enter "DevExpressFix.DevExpressActivateUIAutomation".
  5. Under the Method Name property, enter "TryFixDevExpressUIA".
Once this function gets executed through the Inject .NET Code activity into the application built on top of the DevExpress framework, it activates UI Automation support, and you can use reliable selectors with UI Automation.
Note: The Inject .NET Code activity can be used on .NET UI applications that do not expose traditional automation technologies (Active Accessibility – AA, UI Automation - UIA) or when such technologies are exposed but fail to achieve the desired result. It has been tested (but it is not limited) on WPF and WinForms Windows applications.

Esta página foi útil?

Obtenha a ajuda que você precisa
Aprendendo RPA - Cursos de automação
Fórum da comunidade da Uipath
Uipath Logo White
Confiança e segurança
© 2005-2024 UiPath. Todos os direitos reservados.