Software QA FYI - SQAFYI

Rational Robot FAQ

Part:   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17   18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36 

How to expand the conditions under which a script will play back successfully?

  1. Click Tools Tools Tools Tools - Session Record Options Session Record Options Session Record Options Session Record Options.
  2. Click the Generator per protocol Generator per protocol Generator per protocol Generator per protocol tab.
  3. Select HTTP at the Protocol Protocol Protocol Protocol secti on, and then sel ect one or more of the following:
    a. Allow partial responses
    Select this option to enable a script to play back successfully if the HTTP server responds with partial data during playback. This generates a script that sets the TSS environment variable Http_control Http_control Http_control Http_control to HTTP_PARTIAL_OK. Leaving this box cleared enforces strict interpretation of recorded responses during playback.
    b. Allow cache responses
    Select this option to enable a script to play back successfully if a response is cached differently during playback. This generates a script that sets the TSS environment variable Http_control Http_control Http_control Http_control to HTTP_CACHE_OK. Leaving this box cleared enforces strict interpretation of recorded cache responses during playback.
    c. Allow redirects
    Select this option to enable a script to play back successfully if the script was directed to another HTTP server during playback or recording. This generates a script that sets the TSS environment variable Http_control Http_control Http_control Http_control to HTTP_REDIRECT_OK. Leaving this box cleared enforces strict interpretation of recorded redirects during playback.
    d. Use HTTP keep-alives for connections in a session with multiple scripts. You should generally leave this box cleared.

How to specify the level of data correlation?
TestManager finds the session IDs (and other correlated variables) and, when you run the suite, automatically generates the proper script commands to extract their actual values.
Before you record a script, you can tell TestManager to correlate all possible values (the default), not to correlate any values, or to correlate only a specific list of variables that you provide.
To specify the level of data correlation:

  1. Click Tools Tools Tools Tools > Session Record Options Session Record Options Session Record Options Session Record Options.
  2. Click the Generator per protocol Generator per protocol Generator per protocol Generator per protocol tab.
  3. At Correlate variables in response Correlate variables in response Correlate variables in response Correlate variables in response, select one of the following:
    a. All - All variables are correlated. You should generally select this option. Select another option only if you encounter problems when you play back the script.
    b. Specific - Only the variables that you select are correlated.
    c. None - No variables are correlated.

Providing the Name of an Oracle Database

  1. Click Tools Tools Tools Tools > Session Record Options Session Record Options Session Record Options Session Record Options.
  2. Click the Generator per protocol Generator per protocol Generator per protocol Generator per protocol tab.
  3. Select Oracle at the Protocol Protocol Protocol Protocol section.
  4. Enter the name that the client application uses in the Database name Database name Database name Database name box.

Assigning a Prefix to IIOP Command IDs and Including IORs in IIOP_bind
If you are recording IIOP requests, you can have Robot automatically assign an identifying prefix to IIOP emulation command IDs. You can also include the original IORs in iiop_bind commands.

  1. Click Tools Tools Tools Tools - Session Record Options Session Record Options Session Record Options Session Record Options.
  2. Click the Generator per protocol Generator per protocol Generator per protocol Generator per protocol tab.
  3. Select IIOP at the Protocol section, and then select one or more of the following:
    - Use operation name to prefix emulation command IDs
    - Include original IORs in iiop_bind commands

Part:   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17   18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36 

Rational Robot FAQ