Performing Automation Testing for both Web and Desktop Applications at the same time

All we need is an easy explanation of the problem, so here it is.

I am performing an automation testing, and I have two applications. one is web application and the other is desktop application (WPF). They work together and one needs the other. To perform task on the desktop application the task should be finished first by the web application. I can do automation testing for the web application using Selenium or Protractor. At the same time I I can do automation testing for the Desktop application using Winium. But what I want is to perform automation for both sequentially. Is there any solution some one can provide me?

For your information my web application is developed using Angular JS.
Thank you in advance

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

Below is how I have configured my tests. I choose C# as the programming language. Selenium has .Net bindings so for UI interaction I use Selenium (C#). For Desktop App I am using FlaUI / (TestStack.White). My tests are written in SpecFlow (BDD’s implementation in .Net). So that way I am able to test all of my apps under one umbrella and still use all of the open source technology for testing.

Method 2

You can use following Tools : By using following tools you can interact with both Desktop and Web Component in a Single Test

  • Tosca :

It also supports Desktop and Web Automation. It’s Community edition is FREE.

Refer Tosca

  • Ranorex

It supports Desktop, Web And Mobile as well. It is paid tool.

Refer Ranorex

  • TestComplete

It is an automated testing tool that lets you create, manage and run tests for any Windows, Web or Rich Client software. It makes it easy for anyone to create automated tests. And automated tests run faster, increase test coverage and lower costs. It is paid tool.

Refer Test Complete

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply