3

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.

c32hedge
2,70920 silver badges39 bronze badges
asked Jan 2, 2018 at 15:16
3
  • 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. Commented Jan 2, 2018 at 16:33
  • you can try the test complete tool and its compatible for both desktop and web application. Commented 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) Commented Aug 1, 2018 at 13:12

2 Answers 2

1

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.

answered Oct 31, 2018 at 2:16
0

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.

answered Jan 2, 2018 at 21:19
1
  • Thanks @hal !! I need to lookup on what Sikuli does but happy to know that this can be done. Commented Jan 3, 2018 at 18:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.