Windows to cross-platform framework conversion

has anyone tried to successfully convert a windows framework project to cross-platform? Seems changing target-framework from Windows to Portable doesnt work

1 Like

Well that’s true
It requires lot of changes

Being tailored for a multitude of platforms, the activities used by Cross-platform projects have a slightly different behavior when compared to the normal ones

The Hardware Events input method is not supported in Cross-platform automation. Thus, the Simulate and Chromium API are the only available input methods.

The Click, Hover, and Type Into activities only support the Same As Browser, Simulate, and Chromium API input methods.

The Use Browser activity only supports the Simulateand Chromium API input methods.

The Keyboard Shortcuts activity only supports Chromium API.

In this context, the Web Recorder only supports Chromium API and Simulate input methods.

Targeting Methods - Only Chrome is supported, and targets are only generated by using Strict Selectors and Fuzzy Selectors, without Image and Native Text.

To convert a Windows framework platform to a cross-platform platform in UiPath, you need to follow these steps:

  1. Identify the dependencies: The first step is to identify the dependencies used by the Windows framework platform. These could be any libraries, frameworks, or APIs specific to the Windows platform. Make a list of these dependencies.
  2. Find equivalent cross-platform alternatives: Look for cross-platform alternatives for the dependencies identified in step one. There are many cross-platform alternatives available for most Windows-specific dependencies. Do your research and find the best alternatives for your needs.
  3. Refactor your code: Refactor your existing code to use the cross-platform alternatives you found in step two. This may involve making changes to your code structure, methods, or functions. The goal is to make your code compatible with the cross-platform environment.
  4. Test your code: Once you have refactored your code, it’s important to test it thoroughly. Test it on different platforms to ensure it works correctly on all of them.
  5. Optimize your code: After testing, optimize your code to ensure it runs efficiently on all platforms. This may involve removing any platform-specific code that is no longer needed or optimizing the performance of the cross-platform alternatives you used.

Cheers @jack.chan

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.