testing in different environments

The solution for “testing in different environments” can be found here. The following code will assist you in solving the problem.

I use serenity.config file.
I add all the enviroments there and than I take it
by using configReader method. It does run in
default environment if I don’t specify and environment

I could use also configuration.properties file aswell
but it is longer code than serenity.config file

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in