theiva | 28 May 11:22 2015
Picon

[Cucumber] Execute Multiple tags in parallel in separate browsers

Hi,

How tags can be executed in parallel in cucumber-jvm
 
I have feature files which tagged with ie, chrome, firefox etc. I would like to execute all of them in parallel using selenium grid. Browser is opened only once at the start, it does not close and open browser again after each scenario.
cuke runner is called to execute ie test with following property
 -DCucumber.options=--tags <at> ie
if i try to again call cuke runner with <at> chrome, env property get override and can not execute ie anymore.

if i use DCucumber.options=--tags <at> ie, --tags <at> chrome there is no parallel execution

How it can be solved?

Thanks


--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Selva Kumar V. | 26 May 12:52 2015
Picon

[Cucumber] Accents letters are not printed properly from feature file

Hi Cucumber Team,

First of all, Thanks for this wonderfull cucumber framework.

In this framework in Featuer file i have a step like this

When I Creates Transaction "meublée"

but on running the Java code the text is returns like this "meubl�e.
Please help me on this.

I use Selenium Java in Eclipse.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Bangkar Sameth | 26 May 00:03 2015
Picon

[Cucumber] How to reuse function in other Test Step Definition?

Hi,

I am new to cucumber and running to problem.  Could anyone tell how do I reuse function(s) in test step definition.

Thanks

Example, I have the below:

1) LoginPage.java

     define webElement locators (here)
     public theFormPage doLogin(String uid, String pwd) {

        doTheLogin ... Here
        return new theFormPage(driver);
   }

2) theFormPage.java
  
   define webElement locators (here)
   public void fillform() {

     doPopulate ....
   }


In myTestStepDef.java

<at> Given(^Login Test$)

public void login(Stirng theUserID, String thePassword) {

     .....
     Login  login;
     theFormPage theformpage;

   
     theform = login.doLogin("nam", "pwd");
     theformpage.fillform();   

}

I need to know a way I can reuse codes in "myTestStepDef.java" in "OtherTestStepDef.java".  The
purpose of theOtherTest is to go through same login and fill form.

Please advise.

OtherTestStepDef.java

/*** if I define the below will be error since ..... What can I do to go the theformpage?
<at> Given(^Login Test$)
public void login(Stirng theUserID, String thePassword) {

    ?
    ?

}


--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
David Kowis | 25 May 23:03 2015

[Cucumber] [Scala] improved scala backend projects

I have a pull request open:
https://github.com/cucumber/cucumber-jvm/pull/868

This guy's purpose is listed on the pull request, but the tl;dr:
A refactoring of how cucumber is building the Scala backend projects,
making it more obvious what happens, and reducing duplication.

I'm making noise about it so that there could be some more eyes on it to
make sure I didn't break any project stuff.

It passes all the tests and such, but I'd like to be sure.

Not relevant to the above, just to play around I built a project in SBT
that does the same thing as the 4 maven poms in the pull request above:
https://github.com/dkowis/cucumber-scala-sbt

I'm finding that I really like SBT.

Anyway, comments or +1s on the pull request would be super handy!

Thanks,
David Kowis

--

-- 
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+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.

AutomationQA | 25 May 20:11 2015
Picon

[Cucumber] Update Cucumber.json

Hi All,

I am using Cucumber JVM with JUnit having following plugin options

 plugin     =   {"html:target/cucumber" , "json:target/cucumber.json" },

The cucumber.json file is created after the execution is completed whereas I need to update this json file at runtime to change the node values such as status and error description.

Please let me know how can I access and modify this json file at runtime.

Thanks in advance.

Regards
Shobhit

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Greg Nifor | 21 May 00:06 2015
Picon

[Cucumber] Cucumber Architecture

Does cucumber start a server? Is there some place I can view the architecture of cucumber?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
neeraj jain | 21 May 12:01 2015
Picon

[Cucumber] [Cucumber JVM] How to generate Junit report (HTML) when Cucumber framework is run through Maven

Hi All,

I want to generate Junit report in teh HTML format on running the fremwork through POM.xml (Maven).
Can someone please tell me what needs to be added in the POM.xml to accomplish this task.

Thanks in advance.

Regards,
Neeraj Jain

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Charlton Austin | 18 May 22:09 2015
Picon

[Cucumber] Adding a dagger module for cucumber jvm

I was wondering if there was a guide that explained how to implement an extension for new dependency injection frameworks. I would like to use dagger (http://square.github.io/dagger/z), but there doesn't seem to be any support for it. I plan on looking over the other frameworks that have integration modules, but I thought I would also reach out here as well.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
knoll2roll | 18 May 13:38 2015
Picon

[Cucumber] Any way to print out all scenarios with a special test tag attached [JVM] [Java] [Cucumber-JVM]

Hi Guys,

I have a set of tags that are excluded from the regression test run, for example <at> manual or <at> wip.
These scenario's with these test tags are ignored from the automated test run, as expected.

But I was wondering, is there any way I can run a command (i am using maven to build and run my tests) that will print out all the scnearios with the corresponding test tags.

basically, i need to find a way of viewing all the tests with the test tags.

Any help would be greatly appreciated. If we could generate a report, even better...

Kind regards,
Knoll.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Okiba | 17 May 16:30 2015
Picon

[Cucumber] Page Object - Code Example?

I read some blog posts about Page Object, but those are very basic (most of the examples are just about the Login page) and does not give enough information on how the end results look in a big project. Is there any big Cucumber project that uses page object in a real-world environment and is open for inspection? Something in ruby is preferred, but that's of course is not a must :)

I'm mostly interesting in the complex objects, where your site for example is being composed by multiple layers, and inheritance is being used (top menu, content, lower bar).

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Okiba | 17 May 13:19 2015
Picon

[Cucumber] Page Objects - Real World Code Examples?

I read some blog posts about Page Object, but those are very basic and does not give enough information on how the end results look in a big project. Is there any big Cucumber project that uses page object in a real-world environment and is open for injection? Something in ruby is preferred, but that's of course is not a must :)

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane