background image
<< Removing a Computer or Port | Modifying the Authentication >>
<< Removing a Computer or Port | Modifying the Authentication >>

Authenticating Logon Information

Authenticating Logon Information
6-43
Authenticating Logon Information
If you are running tests against a database that requires a user ID and password, you
must provide them when the script is recorded and when the script is played back.
During recording, Robot detects the user ID, password, and other logon
information. When successful, Robot stores this information in an Authentication
Datapool. In addition, Robot adds the user ID, but not the password, to the script.
During playback, when a user ID and password are required for a database, Robot
finds the user ID in the script, and then finds a password in the Authentication
Datapool that is associated with the user ID. Robot uses the first active password that
it finds for the user ID.
When to Modify the Authentication Datapool
If Robot detects the user ID, password, and other login information provided during
recording, it updates the Authentication Datapool automatically. If your login
information does not subsequently change, you never need to modify the
Authentication Datapool.
However, there are times when modifying the Authentication Datapool is necessary:
¾
If Robot cannot detect the password during recording. For example, Oracle
passwords are almost always transmitted in encrypted form. As a result, you
typically need to enter Oracle passwords into the Authentication Datapool.
¾
If you change your password after the password is recorded and stored in the
Authentication Datapool.
¾
If the server does not allow a user to log into the database multiple times
simultaneously.
In other words, suppose Robot detects your user ID and password when you
record a script. Robot writes the information to the Authentication Datapool.
During playback, TestManager retrieves your user ID and password from the
Authentication Datapool and uses the information to log the virtual tester into
the database.
Modifying the Authentication Datapool with TestManager
To modify the Authentication Datapool with TestManager:
1. In TestManager, click
Tools
Tools
Tools
Tools >
>
>
>
Manage
Manage
Manage
Manage >
>
>
>
Datapools
Datapools
Datapools
Datapools
.
2. Click
RTAuthentication
RTAuthentication
RTAuthentication
RTAuthentication
(the Authentication Datapool).
3. Click
Edit
Edit
Edit
Edit
.