You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
pushprajsingh05
changed the title
Specify OS type in command line
Specify OS and properties file in command line
Nov 1, 2018
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 pertainingserenity.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.
The text was updated successfully, but these errors were encountered: