Forum Discussion

PrathyushaCH's avatar
PrathyushaCH
Occasional Contributor
5 hours ago

Migrating Desktop Automation Tests from CodedUI to TestComplete

Hi all, I’m looking for advice on quickly migrating a suite of desktop automation test cases from CodedUI (C#) to TestComplete. Specifically:

1. Does TestComplete have any inbuilt MCP/feature or migration wizard for this?

2. Are there any third-party tools, agents, or AI solutions that can help automate the migration?

Additional context:

1. My test suite covers ~200 tests for a WPF application, with heavy use of data-driven logic and custom controls.

2. I plan to use JavaScript for scripting in TestComplete.

3. Main challenges: migrating complex UIMaps and parameterized tests.

Any insights, best practices, or references to migration guides would be greatly appreciated!

Thanks in advance!

 

1 Reply

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    Unfortunately, there isn't a feature or tool available to do this automatically.

    I had to migrate our CodeUI tests to TestComplete manually. Converting the code from C# to JavaScript was relatively straightforward, but the biggest challenge was configuring Name Mapping. Getting this to work reliably with our legacy web application proved to be difficult. However, it was achievable!

    You may want to do a POC (proof of concept), to ensure that TestComplete can identify all your controls used in your application. Also, see Supported Technologies and Applications