Last Updated: 24 Mar 2022 10:24 by ADMIN
Created on: 23 Mar 2022 10:43
Type: Feature Request
Test Studio not compatible with dotnet single file application ?

Hi everyone,

I built a WPF single file application with dotnet 6 with the following script.

dotnet publish \
  --configuration Release \
  --runtime win-x64 \
  --self-contained=true \
  -p:PublishSingleFile=true \
  -p:IncludeNativeLibrariesForSelfExtract=true \
  -p:IncludeAllContentForSelfExtract=true \
  --output bin/publish

When using Test Studio, it cannot record actions. The compact recording toolbar is not visible.

At some point when reconfiguring the app path, a popup showed up :

Any feedback from you would be welcome.

1 comment
Plamen Mitrev
Posted on: 24 Mar 2022 10:24

Hello Fran├žois,

I converted your original forum post into a feature request, because currently single file WPF applications are not supported. The limitation comes from the nature of the deployment of those applications and the resulting .exe file. It does more actions then just launching the application and somewhere along the way our recorder is losing the connection.

We will investigate this feature request for out upcoming releases and update it publicly. You can add your vote and follow the public item to get notifications for its progress.

In the meantime, you can deploy the WPF application without the "PublishSingleFile=true" configuration and test the functionality of the application under test with Test Studio.

Thank you for sharing details how to reproduce this behavior.

Plamen Mitrev
Progress Telerik

Does UI testing really fit into CI/CD?

If you want to find out how to take advantage of continuous delivery pipelines, join our Test Studio webinar on Wednesday, April 6 at 11 am EST | 5 pm CET.