This document uses a common user authentication scenario to demonstrate parameterized scripts and credential management using the Recorder and the Test Management API. While examining this demonstration, it is important to remember that the Recorder does not differentiate between ID/password fields and any other fields that might appear in a web form. Consequently, the ability to record the filling of a form can be used to script any interaction with a web application and is not restricted to user authentication. Similarly, the use of substitution parameters in recorded scripts is not limited to the scripting of authentication. The capabilities in the Test Management API to support user authentication can be applied broadly to any application that captures the user interaction with a web form and parameterizes the values that are passed to it.
While the credential management features of the Test Management API can retrieve and change the parameters in recorded scripts. The credential management features do not, however, help you record activity in the Recorder or create the initial mappings of parameterized values to the fields in a web form; these steps must be completed manually.