activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática.
UiPath logo, featuring letters U and I in white
Actividades UIAutomation
Last updated 22 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.

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo White
Confianza y seguridad
© 2005-2024 UiPath. Todos los derechos reservados.