Discussion:
[Cucumber] [JVM] Testing JavaFX or desktop java applications
Javix
2013-05-01 19:46:18 UTC
Permalink
I wonder if it is possible to test JavaFX or other Java desktop
applications with cucumber-jvm ?

Thank you for your ideas and tips if there are any.
--
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Pankaj Nakhat
2013-05-01 21:39:58 UTC
Permalink
You will need a test driver to test the application underneath Cucumber
scenario. Cucumber just provides the framework not underneath driver.

You can look at Franekestiein http://frankenstein.openqa.org/

Regards,
Pankaj Nakhat
www.pankajnakhat.com
Post by Javix
I wonder if it is possible to test JavaFX or other Java desktop
applications with cucumber-jvm ?
Thank you for your ideas and tips if there are any.
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers
http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group, send email to
https://groups.google.com/d/forum/cukes?hl=en
---
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
For more options, visit https://groups.google.com/groups/opt_out.
--
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Thomas Sundberg
2013-05-02 06:31:50 UTC
Permalink
I wonder if it is possible to test JavaFX or other Java desktop applications
with cucumber-jvm ?
I wrote a blog a while ago where I use Cucumber-JVM to verify the same
application implemented using six different interfaces. One of them is
a Swing application.
It is available here:
https://thomassundberg.wordpress.com/2012/11/01/cucumber-jvm-not-just-for-testing-guis/

The short answer is however that it is possible to test anything with
Cucumber-JVM as long as you are able to interface against the program
you want to verify. If you need to verify a web application, a tool
like Selenium might help you. If you need to validate a rich Java
client, a tool like FEST may be your friend. If you need to verify a
Web Service, tools like RESTAssured or just implementing a SOAP client
may be your friends.

Cucumber-JVM doesn't care what tools you use to verify something.
Cucumber-JVM is the driver of the requirements that must be fulfilled.

HTH
Thomas
Thank you for your ideas and tips if there are any.
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers
http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups
unsubscribe from this group, send email to
https://groups.google.com/d/forum/cukes?hl=en
---
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
For more options, visit https://groups.google.com/groups/opt_out.
--
Thomas Sundberg
M. Sc. in Computer Science

Mobile: +46 70 767 33 15
Blog: http://thomassundberg.wordpress.com/
Twitter: @thomassundberg

Better software through faster feedback
--
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Serguei Cambour
2013-05-02 07:30:40 UTC
Permalink
Post by Thomas Sundberg
I wonder if it is possible to test JavaFX or other Java desktop applications
with cucumber-jvm ?
I wrote a blog a while ago where I use Cucumber-JVM to verify the same
application implemented using six different interfaces. One of them is
a Swing application.
https://thomassundberg.wordpress.com/2012/11/01/cucumber-jvm-not-just-for-testing-guis/
The short answer is however that it is possible to test anything with
Cucumber-JVM as long as you are able to interface against the program
you want to verify. If you need to verify a web application, a tool
like Selenium might help you. If you need to validate a rich Java
client, a tool like FEST may be your friend. If you need to verify a
Web Service, tools like RESTAssured or just implementing a SOAP client
may be your friends.
Cucumber-JVM doesn't care what tools you use to verify something.
Cucumber-JVM is the driver of the requirements that must be fulfilled.
HTH
Thomas
Thank you all for your answers, very helpful.

Cheers
Post by Thomas Sundberg
Thank you for your ideas and tips if there are any.
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers
http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups
unsubscribe from this group, send email to
https://groups.google.com/d/forum/cukes?hl=en
---
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
For more options, visit https://groups.google.com/groups/opt_out.
--
Thomas Sundberg
M. Sc. in Computer Science
Mobile: +46 70 767 33 15
Blog: http://thomassundberg.wordpress.com/
Better software through faster feedback
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
---
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/ocUbqljxAlI/unsubscribe?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...