I am new to Test automation and would like to try my hand at automating a web application project.
This web application gets its data from a desktop application (on syncing). I was thinking that selenium is the best approach to automate web side but there would be test cases where I need to use the desktop app here. (e.g. checking the sync changes coming from desktop app into web, validating the data, etc.) How best to combine both the desktop and web app automation? can we use selenium here?
Desktop application runs only on Window OS. (.exe application) Technology used: C#.
Web application is compatible with any browser (preferred - chrome, firefox). Technology used: Java.
-
1"What is the Best tool" are quickly closed (as you will find out) because they are not answerable. We have so many tools because every one is "best" in their own niche. So you have to describe your problem in more details to get answer. Your lack of experience does not allow you to give us enough details. This is normal you just need to learn more. Don't try to look for shortcuts (there are none): invest time to learn the tools.Peter M. - stands for Monica– Peter M. - stands for Monica2018年01月02日 16:33:15 +00:00Commented Jan 2, 2018 at 16:33
-
you can try the test complete tool and its compatible for both desktop and web application.Vel Guru– Vel Guru2018年05月03日 09:32:26 +00:00Commented May 3, 2018 at 9:32
-
For anything with desktop automation, Sikuli is worth a look, and, on Windows, SeeShell and the SeeShell Browser (Chromium with builtin machine vision)Nic Endo– Nic Endo2018年08月01日 13:12:17 +00:00Commented Aug 1, 2018 at 13:12
2 Answers 2
If you want a pure Java test coding you can go with the below combination:
- Selenium for Web part
- Winnium for Desktop part
You will be able to seamlessly call the API within the same java starting class.If you want the two applications to interact in a test workflow, this combo might be worth a try. Also the Winnium API is quite similar to Selenium so the learning curve is faster.
Being purely GUI driven with machine vision, Sikuli is always worth a look for situations where app(s) under test don't have readily available hooks, the automation has to migrate between platforms, access VNC's, etc.
However from description of what you need (app A gets data for app B) it is worth noting Sikuli is pretty useless for validating anything past what it sees - basically UX and that's it. If the data passed can be validated in functional UX/UAT type tests, then it can probably work for what you're looking for.
A good compromise might be to use Sikuli API in Selenium framework.
-
Thanks @hal !! I need to lookup on what Sikuli does but happy to know that this can be done.Adi Roh– Adi Roh2018年01月03日 18:02:54 +00:00Commented Jan 3, 2018 at 18:02