On Thu, May 1, 2014 at 6:53 AM, Amit Sharma <
amit.m...@gmail.com> wrote:
> We're using Selenium Webdriver with cucumber.
> And, we need to run test cases separately for different batches/different
> release test cases etc.
I guess you are using Cucumber-JVM, but next time please prefix the
title as by group rules.
> If there's a way to pass a variable to the cuke runner class file, then we
> won't need to create multiple cuke runner files.
This question has been answered several times on the list, so I won't
get into details. You can define system properties by adding
-Dpropertyname=value as a JVM parameter and accessing them from Java
with System.getProperty("propertyname").
Paolo
> Please help.
> Regards,
> Amit