Is there a way or a method available where we can declare a variable in TestRunner class and pass that as a parameter to the feature files and utilize that parameter in feature file?
Asked
Active
Viewed 18 times
1
-
1not directly. but see linked answer, you can get values out of the environment and you can see an example here: https://github.com/karatelabs/karate/blob/v1.2.1.RC1/karate-core/src/test/java/com/intuit/karate/core/parallel/ParallelTest.java#L34 – Peter Thomas Aug 18 '22 at 08:54