selenium doubts

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

selenium doubts

software tester
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f32b30f0-b0fd-400b-9548-dc4b9d04b5c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Scott Babcock
Selenium WebDriver is an automation API. You use it to interact with web applications as if your scripted actions were being performed by a human user. The API provides the tools, and you apply these tools to perform the necessary actions to fulfill the requirements of your scenario. This is accomplished through code of some sort. You'll need to write as much code as is needed by each specific scenario.

Selenium WebDriver doesn't provide record/playback functionality, so you'll have to write code for every action you need to perform. However, the WebDriver API is not terribly large or complicated, and there is massive amounts of examples, articles, and documentation to help you put it all together.

On Thursday, February 15, 2018 at 11:09:47 PM UTC-8, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/019994c9-26b3-4993-b6a0-b395dc352fd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Shobhit-2
In reply to this post by software tester
Hi, 
     It totally depends on the frameowork , kind of application under test, no of test cases identified for automation.

On Friday, February 16, 2018 at 12:39:47 PM UTC+5:30, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7880fa0-c6ae-4fe6-92a5-a07351f3101f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Vikram
In reply to this post by software tester
Before you start writing code I suggest first start following BDD approach and write down "User Stories" to be automated.

Then you can decide whether to automate those on UI / API level.

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Regards,
Vikram

On Friday, February 16, 2018 at 8:09:47 AM UTC+1, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

⇜Krishnan Mahadevan⇝
Vikram,

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Cucumber does not do this. You as an automation engineer would basically be responsible for tying down individual gherkin steps to their corresponding step definitions. So its still essentially the tester having to do this. 

BDD as a concept has its advantages, but that doesn't mean that the BDD implementation in a particular language should do so as as well. For e.g., the cucumber java implementation lacks several things that a regular automation test would be able to leverage upon such as building test dependencies, data driven tests (yes examples are there in cucumber but I feel they aren't as versatile as a data driven test written using TestNG for e.g.,), parallel execution of scenarios etc.,

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Mon, Feb 19, 2018 at 4:37 PM, Vikram <[hidden email]> wrote:
Before you start writing code I suggest first start following BDD approach and write down "User Stories" to be automated.

Then you can decide whether to automate those on UI / API level.

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Regards,
Vikram

On Friday, February 16, 2018 at 8:09:47 AM UTC+1, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLkBUZWgXixY-1215t60v349S9vXMKmXMAbPfcwaNUrL3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Vikram

BDD is more about collaboration between 3 Amigos to make sure team is delivering what is needed at first place.

Cucumber has got all the options available for parallel run ( there are libraries written on top of it ) , data driven is also possible ( Cucumber data table )

Basically Cucumber creates strong bridge between user stories / test cases and automation scripts, which helps in better quality and avoiding "You Burn, I Scrape"

Regards,
Vikram

On Monday, February 19, 2018 at 1:20:31 PM UTC+1, Krishnan Mahadevan wrote:
Vikram,

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Cucumber does not do this. You as an automation engineer would basically be responsible for tying down individual gherkin steps to their corresponding step definitions. So its still essentially the tester having to do this. 

BDD as a concept has its advantages, but that doesn't mean that the BDD implementation in a particular language should do so as as well. For e.g., the cucumber java implementation lacks several things that a regular automation test would be able to leverage upon such as building test dependencies, data driven tests (yes examples are there in cucumber but I feel they aren't as versatile as a data driven test written using TestNG for e.g.,), parallel execution of scenarios etc.,

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Mon, Feb 19, 2018 at 4:37 PM, Vikram <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MQWCxH08BgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vikra...@...> wrote:
Before you start writing code I suggest first start following BDD approach and write down "User Stories" to be automated.

Then you can decide whether to automate those on UI / API level.

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Regards,
Vikram

On Friday, February 16, 2018 at 8:09:47 AM UTC+1, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MQWCxH08BgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MQWCxH08BgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

⇜Krishnan Mahadevan⇝
Do you want to point me to a cucumber Java library that supports parallel execution at scenario level ?

How about also pointing me to a library that let's me build dependencies between scenarios i.e., execute scenario Y only if X passed. 

Also what if I want to run a bunch of scenarios with each sets of data from a data source ? Do you have anything that you could point me to ?

All of this in Java of course, since that's the only known devil for me. 


On Mon, Feb 19, 2018, 22:53 Vikram <[hidden email]> wrote:

BDD is more about collaboration between 3 Amigos to make sure team is delivering what is needed at first place.

Cucumber has got all the options available for parallel run ( there are libraries written on top of it ) , data driven is also possible ( Cucumber data table )

Basically Cucumber creates strong bridge between user stories / test cases and automation scripts, which helps in better quality and avoiding "You Burn, I Scrape"

Regards,
Vikram

On Monday, February 19, 2018 at 1:20:31 PM UTC+1, Krishnan Mahadevan wrote:
Vikram,

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Cucumber does not do this. You as an automation engineer would basically be responsible for tying down individual gherkin steps to their corresponding step definitions. So its still essentially the tester having to do this. 

BDD as a concept has its advantages, but that doesn't mean that the BDD implementation in a particular language should do so as as well. For e.g., the cucumber java implementation lacks several things that a regular automation test would be able to leverage upon such as building test dependencies, data driven tests (yes examples are there in cucumber but I feel they aren't as versatile as a data driven test written using TestNG for e.g.,), parallel execution of scenarios etc.,

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Mon, Feb 19, 2018 at 4:37 PM, Vikram <[hidden email]> wrote:
Before you start writing code I suggest first start following BDD approach and write down "User Stories" to be automated.

Then you can decide whether to automate those on UI / API level.

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Regards,
Vikram

On Friday, February 16, 2018 at 8:09:47 AM UTC+1, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmCCQw7qu2tcMrbDpPb5LVkc9fGVcVwSFnCYqVr2xHuQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Vikram

The purpose of Java / other selenium supported language and Cucumber are different, one should use individual tool's strong points to achieve unique task/s related to user story optimally.

https://github.com/temyers/cucumber-jvm-parallel-plugin

https://github.com/trivago/cucable-plugin

These 2 are for feature files parallel run.

My main point of argument is keeping test cases / user stories in sync along with automation scripts instead of maintaining it separately.

I'm following BDD since last 2+ years for both web, mobile and api projects and find it much better than traditional way of software testing practices

Regards,
Vikram



On Monday, February 19, 2018 at 6:29:22 PM UTC+1, Krishnan Mahadevan wrote:
Do you want to point me to a cucumber Java library that supports parallel execution at scenario level ?

How about also pointing me to a library that let's me build dependencies between scenarios i.e., execute scenario Y only if X passed. 

Also what if I want to run a bunch of scenarios with each sets of data from a data source ? Do you have anything that you could point me to ?

All of this in Java of course, since that's the only known devil for me. 


On Mon, Feb 19, 2018, 22:53 Vikram <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="H9gxWVhNBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vikra...@...> wrote:

BDD is more about collaboration between 3 Amigos to make sure team is delivering what is needed at first place.

Cucumber has got all the options available for parallel run ( there are libraries written on top of it ) , data driven is also possible ( Cucumber data table )

Basically Cucumber creates strong bridge between user stories / test cases and automation scripts, which helps in better quality and avoiding "You Burn, I Scrape"

Regards,
Vikram

On Monday, February 19, 2018 at 1:20:31 PM UTC+1, Krishnan Mahadevan wrote:
Vikram,

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Cucumber does not do this. You as an automation engineer would basically be responsible for tying down individual gherkin steps to their corresponding step definitions. So its still essentially the tester having to do this. 

BDD as a concept has its advantages, but that doesn't mean that the BDD implementation in a particular language should do so as as well. For e.g., the cucumber java implementation lacks several things that a regular automation test would be able to leverage upon such as building test dependencies, data driven tests (yes examples are there in cucumber but I feel they aren't as versatile as a data driven test written using TestNG for e.g.,), parallel execution of scenarios etc.,

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Mon, Feb 19, 2018 at 4:37 PM, Vikram <[hidden email]> wrote:
Before you start writing code I suggest first start following BDD approach and write down "User Stories" to be automated.

Then you can decide whether to automate those on UI / API level.

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Regards,
Vikram

On Friday, February 16, 2018 at 8:09:47 AM UTC+1, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="H9gxWVhNBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="H9gxWVhNBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/

My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Vikram

Just to clarify about the point Cucumber does not support parallel run so one should not use it.

This is not at all correct .


Refer to my repo

https://github.com/vikramvi/junit-webtests-parallel-grid-docker-jenkins-debug/blob/master/cucumber-webtests/pom.xml

One can use other plugin like maven surefire / maven failsafe along with Cucumber to run feature files in parallel mode with Grid setup


I will let community decide if they would like to collaborate closely within team which is needed in scrum or continue working in fast waterfall in agile world :)

Regards,
Vikram



On Tuesday, February 20, 2018 at 11:43:00 AM UTC+1, Krishnan Mahadevan wrote:
The purpose of Java / other selenium supported language and Cucumber are different, one should use individual tool's strong points to achieve unique task/s related to user story optimally.

IMO, a tester chooses a test library that best supports their usecase. So if dependencies/ parallel execution are things that are absolutely needed and if Cucumber Java bindings cannot support them (which is true AFAIK), then there's no point in trying to adopt Cucumber. So it makes every sense for a person to basically skip using Cucumber.

My point is very simple, which you seem to be re-iterating as well. Pick a tool that helps you solve your problem. So the only reason why you may find some folks not using Cucumber is perhaps because Cucumber doesn't fit the bill for them.

<a href="https://github.com/temyers/cucumber-jvm-parallel-plugin" style="color:rgb(17,85,204);font-size:12.8px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;">https://github.com/temyers/cucumber-jvm-parallel-plugin
<a href="https://github.com/trivago/cucable-plugin" style="color:rgb(17,85,204);font-size:12.8px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;">https://github.com/trivago/cucable-plugin
These 2 are for feature files parallel run.

Yes but neither of them support parallelism at scenario level. I made a maiden effort to plug that gap when I built <a href="https://github.com/RationaleEmotions/cucumber-roadrunner" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FRationaleEmotions%2Fcucumber-roadrunner\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWpK1hzAYiRPf16S0ZTvc2tRsVIw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FRationaleEmotions%2Fcucumber-roadrunner\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWpK1hzAYiRPf16S0ZTvc2tRsVIw&#39;;return true;">cucumber-roadrunner and let users run scenarios in parallel as well. But that's a different story.

My main point of argument is keeping test cases / user stories in sync along with automation scripts instead of maintaining it separately.
I'm following BDD since last 2+ years for both web, mobile and api projects and find it much better than traditional way of software testing practices

Good to hear that it worked for you. But like I said before, if my primary requirements are around parallel execution, a complex test execution graph which has dependencies involved and which requires extensive support for data driven (more complex than what examples/data tables has to offer) and if my programming language is Java, then I would not choose cucumber.
Keeping test cases/user stories together in sync is a good thing. But Cucumber is not the only way of achieving it. Good engineering discipline will also help maintain that. 

BDD is one of the ways in which people approach their development/testing. Am not against that. But there are other ways of doing things as well.

I guess I have said enough here :) Let me not hijack this thread. I rest my case !


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Tue, Feb 20, 2018 at 4:01 PM, Vikram <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="TFodDMCFBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vikra...@...> wrote:

The purpose of Java / other selenium supported language and Cucumber are different, one should use individual tool's strong points to achieve unique task/s related to user story optimally.

<a href="https://github.com/temyers/cucumber-jvm-parallel-plugin" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;">https://github.com/temyers/cucumber-jvm-parallel-plugin

<a href="https://github.com/trivago/cucable-plugin" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;">https://github.com/trivago/cucable-plugin

These 2 are for feature files parallel run.

My main point of argument is keeping test cases / user stories in sync along with automation scripts instead of maintaining it separately.

I'm following BDD since last 2+ years for both web, mobile and api projects and find it much better than traditional way of software testing practices

Regards,
Vikram



On Monday, February 19, 2018 at 6:29:22 PM UTC+1, Krishnan Mahadevan wrote:
Do you want to point me to a cucumber Java library that supports parallel execution at scenario level ?

How about also pointing me to a library that let's me build dependencies between scenarios i.e., execute scenario Y only if X passed. 

Also what if I want to run a bunch of scenarios with each sets of data from a data source ? Do you have anything that you could point me to ?

All of this in Java of course, since that's the only known devil for me. 


On Mon, Feb 19, 2018, 22:53 Vikram <[hidden email]> wrote:

BDD is more about collaboration between 3 Amigos to make sure team is delivering what is needed at first place.

Cucumber has got all the options available for parallel run ( there are libraries written on top of it ) , data driven is also possible ( Cucumber data table )

Basically Cucumber creates strong bridge between user stories / test cases and automation scripts, which helps in better quality and avoiding "You Burn, I Scrape"

Regards,
Vikram

On Monday, February 19, 2018 at 1:20:31 PM UTC+1, Krishnan Mahadevan wrote:
Vikram,

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Cucumber does not do this. You as an automation engineer would basically be responsible for tying down individual gherkin steps to their corresponding step definitions. So its still essentially the tester having to do this. 

BDD as a concept has its advantages, but that doesn't mean that the BDD implementation in a particular language should do so as as well. For e.g., the cucumber java implementation lacks several things that a regular automation test would be able to leverage upon such as building test dependencies, data driven tests (yes examples are there in cucumber but I feel they aren't as versatile as a data driven test written using TestNG for e.g.,), parallel execution of scenarios etc.,

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Mon, Feb 19, 2018 at 4:37 PM, Vikram <[hidden email]> wrote:
Before you start writing code I suggest first start following BDD approach and write down "User Stories" to be automated.

Then you can decide whether to automate those on UI / API level.

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Regards,
Vikram

On Friday, February 16, 2018 at 8:09:47 AM UTC+1, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/

My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="TFodDMCFBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="TFodDMCFBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8c1d6e2d-0258-4882-903a-c466422bb986%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Vikram

One more repo https://github.com/vikramvi/serenity-cucumber-wl showcasing Cucubmer parallel run in docker container environment with Selenium Grid

This was my first experience with BDD ( Cucumber usage with UI automation )

https://stackoverflow.com/questions/38835682/how-to-generate-documentation-from-cucumber-gherkin

Using yard cucumber I had hosted "Living Documentation" within company network thus avoiding to use costly test cases management tool

Regards,
Vikram

On Wednesday, February 21, 2018 at 10:34:19 AM UTC+1, Vikram wrote:

Just to clarify about the point Cucumber does not support parallel run so one should not use it.

This is not at all correct .


Refer to my repo

<a href="https://github.com/vikramvi/junit-webtests-parallel-grid-docker-jenkins-debug/blob/master/cucumber-webtests/pom.xml" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fvikramvi%2Fjunit-webtests-parallel-grid-docker-jenkins-debug%2Fblob%2Fmaster%2Fcucumber-webtests%2Fpom.xml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEFlORJDCszHxwUYrd3q38P-OPXpQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fvikramvi%2Fjunit-webtests-parallel-grid-docker-jenkins-debug%2Fblob%2Fmaster%2Fcucumber-webtests%2Fpom.xml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEFlORJDCszHxwUYrd3q38P-OPXpQ&#39;;return true;">https://github.com/vikramvi/junit-webtests-parallel-grid-docker-jenkins-debug/blob/master/cucumber-webtests/pom.xml

One can use other plugin like maven surefire / maven failsafe along with Cucumber to run feature files in parallel mode with Grid setup


I will let community decide if they would like to collaborate closely within team which is needed in scrum or continue working in fast waterfall in agile world :)

Regards,
Vikram



On Tuesday, February 20, 2018 at 11:43:00 AM UTC+1, Krishnan Mahadevan wrote:
The purpose of Java / other selenium supported language and Cucumber are different, one should use individual tool's strong points to achieve unique task/s related to user story optimally.

IMO, a tester chooses a test library that best supports their usecase. So if dependencies/ parallel execution are things that are absolutely needed and if Cucumber Java bindings cannot support them (which is true AFAIK), then there's no point in trying to adopt Cucumber. So it makes every sense for a person to basically skip using Cucumber.

My point is very simple, which you seem to be re-iterating as well. Pick a tool that helps you solve your problem. So the only reason why you may find some folks not using Cucumber is perhaps because Cucumber doesn't fit the bill for them.

<a href="https://github.com/temyers/cucumber-jvm-parallel-plugin" style="color:rgb(17,85,204);font-size:12.8px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;">https://github.com/temyers/cucumber-jvm-parallel-plugin
<a href="https://github.com/trivago/cucable-plugin" style="color:rgb(17,85,204);font-size:12.8px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;">https://github.com/trivago/cucable-plugin
These 2 are for feature files parallel run.

Yes but neither of them support parallelism at scenario level. I made a maiden effort to plug that gap when I built <a href="https://github.com/RationaleEmotions/cucumber-roadrunner" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FRationaleEmotions%2Fcucumber-roadrunner\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWpK1hzAYiRPf16S0ZTvc2tRsVIw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FRationaleEmotions%2Fcucumber-roadrunner\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWpK1hzAYiRPf16S0ZTvc2tRsVIw&#39;;return true;">cucumber-roadrunner and let users run scenarios in parallel as well. But that's a different story.

My main point of argument is keeping test cases / user stories in sync along with automation scripts instead of maintaining it separately.
I'm following BDD since last 2+ years for both web, mobile and api projects and find it much better than traditional way of software testing practices

Good to hear that it worked for you. But like I said before, if my primary requirements are around parallel execution, a complex test execution graph which has dependencies involved and which requires extensive support for data driven (more complex than what examples/data tables has to offer) and if my programming language is Java, then I would not choose cucumber.
Keeping test cases/user stories together in sync is a good thing. But Cucumber is not the only way of achieving it. Good engineering discipline will also help maintain that. 

BDD is one of the ways in which people approach their development/testing. Am not against that. But there are other ways of doing things as well.

I guess I have said enough here :) Let me not hijack this thread. I rest my case !


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Tue, Feb 20, 2018 at 4:01 PM, Vikram <[hidden email]> wrote:

The purpose of Java / other selenium supported language and Cucumber are different, one should use individual tool's strong points to achieve unique task/s related to user story optimally.

<a href="https://github.com/temyers/cucumber-jvm-parallel-plugin" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;">https://github.com/temyers/cucumber-jvm-parallel-plugin

<a href="https://github.com/trivago/cucable-plugin" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;">https://github.com/trivago/cucable-plugin

These 2 are for feature files parallel run.

My main point of argument is keeping test cases / user stories in sync along with automation scripts instead of maintaining it separately.

I'm following BDD since last 2+ years for both web, mobile and api projects and find it much better than traditional way of software testing practices

Regards,
Vikram



On Monday, February 19, 2018 at 6:29:22 PM UTC+1, Krishnan Mahadevan wrote:
Do you want to point me to a cucumber Java library that supports parallel execution at scenario level ?

How about also pointing me to a library that let's me build dependencies between scenarios i.e., execute scenario Y only if X passed. 

Also what if I want to run a bunch of scenarios with each sets of data from a data source ? Do you have anything that you could point me to ?

All of this in Java of course, since that's the only known devil for me. 


On Mon, Feb 19, 2018, 22:53 Vikram <[hidden email]> wrote:

BDD is more about collaboration between 3 Amigos to make sure team is delivering what is needed at first place.

Cucumber has got all the options available for parallel run ( there are libraries written on top of it ) , data driven is also possible ( Cucumber data table )

Basically Cucumber creates strong bridge between user stories / test cases and automation scripts, which helps in better quality and avoiding "You Burn, I Scrape"

Regards,
Vikram

On Monday, February 19, 2018 at 1:20:31 PM UTC+1, Krishnan Mahadevan wrote:
Vikram,

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Cucumber does not do this. You as an automation engineer would basically be responsible for tying down individual gherkin steps to their corresponding step definitions. So its still essentially the tester having to do this. 

BDD as a concept has its advantages, but that doesn't mean that the BDD implementation in a particular language should do so as as well. For e.g., the cucumber java implementation lacks several things that a regular automation test would be able to leverage upon such as building test dependencies, data driven tests (yes examples are there in cucumber but I feel they aren't as versatile as a data driven test written using TestNG for e.g.,), parallel execution of scenarios etc.,

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Mon, Feb 19, 2018 at 4:37 PM, Vikram <[hidden email]> wrote:
Before you start writing code I suggest first start following BDD approach and write down "User Stories" to be automated.

Then you can decide whether to automate those on UI / API level.

I feel strange that why many people still wants to keep test cases ( user stories ) separated from automation script, even when Cucumber tool keep both these critical components of testing in sync every day.

Regards,
Vikram

On Friday, February 16, 2018 at 8:09:47 AM UTC+1, software tester wrote:
hi to all.. i have doubts in selenium

if i automate an website using selenium... how much of scripts i need to write?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/c92b1456-e6b6-410a-aa2d-51bb6be37667%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/44a9a8fd-82b4-4e93-a510-68e2113b4379%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/

My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/94219af1-7453-425a-9bc5-a5647b8e79ed%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/16f74b20-08fa-47d5-98c6-a5712713c713%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

Benjamin Bischoff
In reply to this post by Vikram
Hello all,

I am the author of Cucable (https://github.com/trivago/cucable-plugin) and it DOES support running scenarios in parallel. It even splits scenario outlines into individual scenarios.
In fact, this is one of the reasons why I created it ;-)

Best,
Benjamin

Am Dienstag, 20. Februar 2018 11:43:00 UTC+1 schrieb Krishnan Mahadevan:
My point is very simple, which you seem to be re-iterating as well. Pick a tool that helps you solve your problem. So the only reason why you may find some folks not using Cucumber is perhaps because Cucumber doesn't fit the bill for them.

<a href="https://github.com/temyers/cucumber-jvm-parallel-plugin" style="color:rgb(17,85,204);font-size:12.8px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftemyers%2Fcucumber-jvm-parallel-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7xYx0YqE8i-nqIaiBpUydlS6swQ&#39;;return true;">https://github.com/temyers/cucumber-jvm-parallel-plugin
<a href="https://github.com/trivago/cucable-plugin" style="color:rgb(17,85,204);font-size:12.8px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftrivago%2Fcucable-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdylGwsO3RX64y-297xvZsrWHjvw&#39;;return true;">https://github.com/trivago/cucable-plugin
These 2 are for feature files parallel run.

Yes but neither of them support parallelism at scenario level.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a4a40d62-7059-44d7-b021-585ae18be9d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium doubts

⇜Krishnan Mahadevan⇝
Benjamin,

Good to hear that. In-fact I also went ahead and built my own variant of a scenario level parallel execution support for Cucumber by building Cucumber-roadrunner.


I am yet to go back to it to upgrading it so that its compliant with the latest released version of Cucumber though! Hopefully I will get around to doing that.
 


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribblings @ http://rationaleemotions.wordpress.com/

On Tue, Jun 26, 2018 at 3:15 PM, Benjamin Bischoff <[hidden email]> wrote:
Hello all,

I am the author of Cucable (https://github.com/trivago/cucable-plugin) and it DOES support running scenarios in parallel. It even splits scenario outlines into individual scenarios.
In fact, this is one of the reasons why I created it ;-)

Best,
Benjamin

Am Dienstag, 20. Februar 2018 11:43:00 UTC+1 schrieb Krishnan Mahadevan:
My point is very simple, which you seem to be re-iterating as well. Pick a tool that helps you solve your problem. So the only reason why you may find some folks not using Cucumber is perhaps because Cucumber doesn't fit the bill for them.

https://github.com/temyers/cucumber-jvm-parallel-plugin
https://github.com/trivago/cucable-plugin
These 2 are for feature files parallel run.

Yes but neither of them support parallelism at scenario level.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a4a40d62-7059-44d7-b021-585ae18be9d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLnupb5%2BGbGR8n2tzeCynCGFvvcY87Gzofj5bM3wQ%2BMRfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.