Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to test desktop applications using selenium? Suppose we have a simple application like gtalk. A desktop application, can we automate that application with selenium.

share|improve this question
up vote 3 down vote accepted

No, Selenium 2 / WebDriver is for web applications only. But there are other tools to automate desktop application GUI tests.

You can also search for "desktop application" on this site to find recommended tools.

share|improve this answer
Hey I have used UFT for testing desktop application. I was just willing to know is there any way to test them using selenium. – Ashwani Raj Jul 18 '14 at 6:22
@Twaldigas, I wouldn't necessarily agree. I've heard of people testing desktop applications with embeded HTML content using elements of Selenium. – dzieciou Jul 20 '14 at 16:52
@dzieciou Yes, some people use Selenium for other types of applications or other types of tests. I read about performance tests of web applications with Selenium. But Selenium is for GUI tests of web applications and nothing else. This is the intended area. Nothing else. There are proper tools for desktop application test automation. – Twaldigas Jul 21 '14 at 5:41
@Twaldigas, do those other tools handle embedded HTML? – dzieciou Jul 21 '14 at 7:54
@dzieciou I do not know any tool for that. But I can not imagine how to test that with Selenium. Embedded HTML means that the HTML pages will be displayed in the desktop application. But with Selenium you can control browsers only. – Twaldigas Jul 24 '14 at 7:49

Try using SIkuli it can automate anything , since it uses Image recognition

share|improve this answer
This isn't really an answer to the question, which asks if a desktop application can be tested with Selenium. – Kate Paulk Jul 21 '14 at 10:52 (the following text is just to get through the 30 characters limit) Winium.Desktop is an open source test automation tool for automated testing of Windows application based on WinForms and WPF platforms. Winium.Desktop.Driver implements Selenium Remote WebDriver and listens for JsonWireProtocol commands.

share|improve this answer
Looks interesting :) – Niels van Reijmersdal Nov 24 '15 at 10:42

Selenium does not have the capability to automate the desktop applications.It cannot recognize the objects in a desktop application. Selenium drives the testing using the driver object that identifies the elements on screen using id, cssselector, xpath etc. which are not present in a desktop app. Though there is ID behind the elements in a desktop app but as we all know that IDs are dynamic and cannot be relied on. Testers use autoIT,sikuli along with selenium to interact with windows UI if required by a website i.e. for the features like upload a file etc.

share|improve this answer

Try SmartBear's TestComplete. It works well with web apps and desktop apps.

share|improve this answer
TestComplete doesnt use selenium to test a desktop application (as asked in the question). It used a different (propitiatory) framework – ECiurleo Jun 16 at 11:12

weather GUI and slkuli are open soure

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

This isn't really an answer to the question, which asks if a desktop application can be tested with Selenium. – bish Aug 14 '15 at 4:49
What is weather GUI and where can I find it? – Niels van Reijmersdal Aug 14 '15 at 11:06
So are you suggesting these as alternatives to Selenium? Or are you saying you can use Selenium to control these tools somehow? – corsiKa Aug 14 '15 at 14:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.