Use Configuration and Runtime Options

Employ configuration options and runtime options to take login information out of the test whenever appropriate. Suppose you have the following manual test step:

1. Log into your database as a user with the PeopleSoft
   User role.

Coding user-specific information into many tests may make future updates difficult if user IDs in the test environment are changed.

The following example shows how to make a recorded test easier to maintain by setting configuration options to use Browser.Start_Login (it automatically inactivates the sequence of steps that records logging in (Steps 2 through 4) and replaces those steps with the single action, Browser.Start_Login) and using runtime options for the user ID and password at the login page:

This example illustrates inactivating the sequence of steps that record logging in (Steps 2 through 4) and replacing those steps with the single action, Browser.Start_Login, which takes the user ID and password from the runtime options and enters them at the login page:

Example of using Browser.Start_Login