How to run automated tests on a desktop application via Jenkins?

44 views Asked by At

Sorry for my english, not my first language.

I work with automated testing. We made automated tests on a desktop application using Windows App Driver, C# and Selenium. The tests run fine when launched via Visual Studio, but I cant get the application to run on Jenkins.

I've tried the following commands on the Execute Windows batch command section on Jenkins:

cd C:\<projectFolder>
dotnet build
dotnet test

This works fine on windows terminal, but on Jenkins I can see in the console that it does build and start the tests, but the main application dont open. The process of the app appears on task manager, but it doesnt really start.

Any advice?

0

There are 0 answers