Cucumber for Windows desktop application

815 views
Skip to first unread message

plaidsh...@gmail.com

unread,
Jul 27, 2018, 11:29:29 AM7/27/18
to Cukes
I have to test a Windows desktop application. I found seleniumcucumber.info as a possible source of tutorial in this topic, but it seems a bit outdated and uncomplete. Is Cucumber right tool to test a Java based Windows application? I am new in this area of testing.

George Dinwiddie

unread,
Jul 27, 2018, 2:55:50 PM7/27/18
to cu...@googlegroups.com
Hi, Plaid Shirt,
Cucumber will work just fine, but has no library built-in to connect
with any application. You must provide that.

I'm not sure of the state of the art with regard to GUI automation
libraries on Windows, but I recommend you do most of your testing at the
Java API level that your GUI uses to communicate with your application.
This will let you test your functionality more quickly and easily, and
with less worry about tests being broken by trivial look-and-feel
changes. Then you need only check that the GUI is properly connected to
the API. In https://github.com/gdinwiddie/EquineHoroscope (which has a
web front end), I use the same scenario to test via the GUI and the API,
injecting a different adapter for connecting with the system.

- George


--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------

Eric Kessler

unread,
Aug 4, 2018, 5:34:14 PM8/4/18
to Cukes


On Friday, July 27, 2018 at 11:29:29 AM UTC-4, plaidsh...@gmail.com wrote:
I have to test a Windows desktop application. I found seleniumcucumber.info as a possible source of tutorial in this topic, but it seems a bit outdated and uncomplete. Is Cucumber right tool to test a Java based Windows application? I am new in this area of testing.

This Ruby gem can automate Window applications. Try to test as much as possible via the backend/API in whatever language the application is written in (i.e. Java) but, for the 'black box' functional testing, you can write tests in whatever language is convenient. So, if anyone in your group knows Ruby, this tool might help.


Enjoy,
Eric 

Eric Kessler

unread,
Aug 4, 2018, 5:35:47 PM8/4/18
to Cukes
Whoops. I forgot to link the gem. Here it is.

 

Enjoy,
Eric 

Ákos Kovács

unread,
Aug 5, 2018, 3:05:57 PM8/5/18
to cu...@googlegroups.com
I never used Ruby earlier. Isn't there any Java based solutions for this purpose? If not, could you please show me a short example, how it can be used?

--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Kessler

unread,
Aug 7, 2018, 7:02:40 PM8/7/18
to Cukes


On Sunday, August 5, 2018 at 3:05:57 PM UTC-4, Ákos Kovács wrote:
I never used Ruby earlier. Isn't there any Java based solutions for this purpose? If not, could you please show me a short example, how it can be used?


It looks like there is a similar Java based tool, yes.

https://github.com/mmarquee/ui-automation
Reply all
Reply to author
Forward
0 new messages