Desktop Application Will Not Record
I created a WPF Test and configured my application. When I press Record, the application launches but no steps are recorded in Test Studio.
Test Studio supports WPF desktop application automation. Test Studio does not support testing against WinForms applications. Ensure the application under test is 100% WPF and contains no non-WPF components.
If you are unsure whether your desktop application is WPF, follow these steps:
- Open the application you are trying to automate against.
- Open Test Studio.
- Create a new WPF test and open it.
- Click Configure in the Application ribbon.
- Is the application listed under Active WPF Applications? If not, the application is not compatible.
- Keep in mind that if you manual select the application using the Browse button, it will accept any application with an .exe extension. This can lead to a false positive indicated by the green and white check mark. The app will load when you click the Record button, however no steps will record if the application is not WPF. (A recording toolbar may or may not be attached.)
Below is an example of a false positive with the Windows Calculator program. This type of application is not supported by Test Studio.
Note: As of version 2012.1.509, Test Studio will alert you if the selected application is not valid.
- If recording is functioning correctly in most sections of your WPF application but not all, the non-working sections may be designed with non-WPF components. These sections are not supported by Test Studio. An example is a browser control within a WPF app.
Note: It is not on our road map to implement WinForms support any time soon.