July 2019
Intermediate to advanced
536 pages
12h 57m
English
In a lot of cases, the test environment data, such as username, password, servers, IP, and URL are dynamic, and change with the environment they run on. In these situations, it makes sense to use a placeholder in the test data and replace the values on the fly when the test method is run.
To do this, environment data can be stored in property files, a system property can be used to pass in the name of the file for that specific environment, and it can then be read as part of the @BeforeSuite method.
Let's take a quick look at the various parts of this equation.
Read now
Unlock full access