Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify OS and properties file in command line #215

Open
pushprajsingh05 opened this issue Nov 1, 2018 · 0 comments
Open

Specify OS and properties file in command line #215

pushprajsingh05 opened this issue Nov 1, 2018 · 0 comments

Comments

@pushprajsingh05
Copy link

Background:
I test, scripts on windows machine for that I have placed chrome binary in project location, in serenity.properties file like thiswebdriver.chrome.driver = chromedriver.exe. Once scripts pass locally I push them to github and run them via Jenkins which is a Linux machine. For this linux machine I have to change chrome binary path and file. I don't want that, I expect that serenity understand which OS is this and execute pertaining serenity.properties file.

I am looking for some command like this
mvn clean verify -Dwebdriver.driver=chrome -DoperatingSystem=linux -DpropertiesFile=serenityLinux.properties

How can I implement this? Or any feature available in Serenity OOTB, ready to use.

@pushprajsingh05 pushprajsingh05 changed the title Specify OS type in command line Specify OS and properties file in command line Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant