Replies: 1 comment 2 replies
-
Assuming you're using Assuming you're using Maven to configure your tests for each platform, you could set the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Cucumber TestNG framework that supports BrowserStack. In my browserstack.yml file, I have configured parallel execution across multiple platforms, including iOS and Android.
The execution flow is as follows: I trigger the tests using Maven, which in turn runs my CucumberTestRunner. My goal is to append the platform name to the JSON report path in the @CucumberOptions plugin so that separate reports are generated for Android and iOS.
I initially tried using System.getProperty("platform") to dynamically modify the JSON report path in @CucumberOptions, but encountered an error stating that attributes must be constant. Is there a solution to achieve this dynamically?
Beta Was this translation helpful? Give feedback.
All reactions