activities
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
UiPath logo, featuring letters U and I in white
用户界面自动化活动
Last updated 2024年11月22日

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.

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。