how can you run your test in different environments

Solutions on MaxInterview for how can you run your test in different environments by the best coders in the world

showing results for - "how can you run your test in different environments"
Marco
22 Sep 2020
1I use serenity.config file.
2I add all the enviroments there and than I take it
3by using configReader method. It does run in
4default environment if I don't specify and environment
5
6I could use also configuration.properties file aswell
7but it is longer code than serenity.config file