Feature: First Test
Scenario: Test in App
When I Open the app
....
....
....
I want to change the feature name at runtime. Prefix the Device Name at the beginning, which I will be passing via a ENV variable. I'll be generating the JSON report which would be consumed by the Jenkins cucumber plugin.
Finally the Feature name for various device's tested would look like:
Device 1 : Feature name - "Samsung Galalxy S3 First Test"
Device 2 : Feature name - "HTC ONE First Test"
I Could not figure out the way to modify the feature name at runtime. Could anyone give some information about this.
Help would be greatly appreciated
Thanks