Data Management
In this lesson, we will learn how to manage test data that are specific to the environment that we are running our test suite against.
We'll cover the following...
Need for DataManager
#
Oftentimes, we will be using some static test data that is specific to an environment. The environment could be staging, production, development, etc. For maintaining the environment, we can have a separate class for managing that. This allows us to manage test data in an environment-agnostic way.
Creating DataManager
#
We can store the test data in any file format. For demonstration purposes, .properties
file is considered.