planning for a cucumber demo to my collegues...guide me please

59 views
Skip to first unread message

Vinoth Kannan

unread,
Jul 10, 2016, 6:56:58 AM7/10/16
to Cukes
Hi all,

I am planning to give a demo on cucumber to my colleagues by next week.

I had made a simple framework with junit runner, maven as build tool with java  and planning to have jenkins with it. 

But the one thing I am scared is all are selenium experts and they will try their best to make this show a flap one, as they all want to continue with the framework made by them(selenium with TestnG) and my total experience is just two years so i would be questioned from all the corners.

So i kindly requesting you all to share your experience and the question i can expect and in which all things i need to be strong

1) which all can I Include as part of demo
2) Is page object model mandatory, because i am using a xml structure to store the object, which has come out very good(my perception)

you all cukes experts have come through lot of such things, so you knowledge ans experience will surely guide me.


Thanks All In Advance


- Vinoth

Thomas Sundberg

unread,
Jul 10, 2016, 7:34:37 AM7/10/16
to cu...@googlegroups.com
Hi!

On 10 July 2016 at 12:56, Vinoth Kannan <vinothk...@gmail.com> wrote:
> Hi all,
>
> I am planning to give a demo on cucumber to my colleagues by next week.
>
> I had made a simple framework with junit runner, maven as build tool with
> java and planning to have jenkins with it.
>
> But the one thing I am scared is all are selenium experts and they will try
> their best to make this show a flap one, as they all want to continue with
> the framework made by them(selenium with TestnG) and my total experience is
> just two years so i would be questioned from all the corners.
>
> So i kindly requesting you all to share your experience and the question i
> can expect and in which all things i need to be strong
>
> 1) which all can I Include as part of demo
>

If you are afraid of getting into problems by a discussion that
focuses on Selenium instead of BDD and Cucumber, then show an example
that doesn't include Selenium. Or show them two examples, one without
a UI and one with a UI.

I would suggest on focusing on the collaboration possibilities that
BDD and Cucumber can offer. Things like readability for non technical
people.

I would also consider talking about the test pyramid that states that
most of your tests should not be through the UI. It is brittle and
slow.

Some more details can be found in this blog post I wrote a while back:
http://www.thinkcode.se/blog/2016/03/26/where-should-you-use-behaviour-driven-development-bdd

>
> 2) Is page object model mandatory, because i am using a xml structure to
> store the object, which has come out very good(my perception)
>

Page objects are not mandatory. They can be a good idea, but what
matters is the abstraction they offer. That is moving the UI details
from the test. If that can be done in other ways, go for the way that
suits your team best.

Good luck with your demo!
Thomas

>
> you all cukes experts have come through lot of such things, so you knowledge
> ans experience will surely guide me.
>
>
> Thanks All In Advance
>
>
> - Vinoth
>
> --
> 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.



--
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

Interested in a BDD Kickstart in Stockholm?
https://cucumber.io/events/bdd-kickstart-stockholm-16

George Dinwiddie

unread,
Jul 10, 2016, 1:05:33 PM7/10/16
to cu...@googlegroups.com
Vinoth,

On 7/10/16 6:56 AM, Vinoth Kannan wrote:
> Hi all,
>
> I am planning to give a demo on cucumber to my colleagues by next week.

What is your goal of this demo?

>
> I had made a simple framework with junit runner, maven as build tool
> with java and planning to have jenkins with it.
>
> But the one thing I am scared is all are selenium experts and they will
> try their best to make this show a flap one, as they all want to
> continue with the framework made by them(selenium with TestnG) and my
> total experience is just two years so i would be questioned from all the
> corners.

Cucumber can drive Selenium in the same manner as TestNG can. The
purpose of using Cucumber/Gherkin is to develop descriptions of desired
behavior collaboratively with the business people who desire the
behavior. At the very least, you want them to be able to read the
description and say "Yes, that's what I meant" or "No, that's not what I
meant."

>
> So i kindly requesting you all to share your experience and the question
> i can expect and in which all things i need to be strong
>
> 1) which all can I Include as part of demo
> 2) Is page object model mandatory, because i am using a xml structure to
> store the object, which has come out very good(my perception)

This "2)" worries me that you're having a tug of war over whose
"framework" is superior.

>
> you all cukes experts have come through lot of such things, so you
> knowledge ans experience will surely guide me.

- George

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

Vinoth Kannan

unread,
Jul 11, 2016, 7:32:01 AM7/11/16
to Cukes
thanks thomas and george for your replies.

George, 
the main aim of the demo is to give confidence to people the selenium automation is easier with cucumber 
and also to provide a view to the top level management that automation is better with cucumber 
 

Vinoth Kannan

unread,
Aug 31, 2016, 11:17:46 AM8/31/16
to Cukes
hi thomas,
 
You have said that with UI and without UI.

What u mean by without UI(headless browser).

Does Cucumber supports it.. if so can you please share me some links on it if you have.

Thanks,
Vinoth 

George Dinwiddie

unread,
Aug 31, 2016, 11:39:27 AM8/31/16
to cu...@googlegroups.com
Vinoth,

Have you noticed the posting-rules? Without context, it's hard to see
what's been said or not said, and therefore hard to answer your questions.

> Posting rules: http://cukes.info/posting-rules.html
Cucumber executes step definitions, which are code. That code can call
the system under test directly, or can go through some library. Such a
library can drive a real browser or a headless browser or access some
other API method (such as web services).

Vinoth Kannan

unread,
Aug 31, 2016, 11:58:41 AM8/31/16
to Cukes
sorry actually..

I know this is not a cucumber question.

Can you please give me some links or guide through which i can make web service work using java
Reply all
Reply to author
Forward
0 new messages