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 set up and use proxy recording?

  • Start Robot on the proxy computer.
  • In the Proxy Administration dialog box, match up the proxy computer and port with each server to be used in the test.
  • In the Method:Proxy Method:Proxy Method:Proxy Method:Proxy tab of the Session Record Options dialog box, match up each client with the server it will send requests to. Be sure to specify the actual server and not the proxy computer.
  • Configure each client to send requests to the proxy computer, not to the server. For example, if the client will be sending requests to an Oracle database, use the Oracle client configuration software to specify the proxy computer’s address and port number, not the server’s.
  • On each client computer, a tester should start the client application and navigate to the point where recording will begin.
  • On the proxy computer, enable recording (File File File File > Record Session Record Session Record Session Record Session).
  • With recording enabled, each tester at each client computer performs the transactions to record.
  • When all transactions are complete, stop recording on the proxy computer.

    How to create a proxy computer?

    1. Click Tools Tools Tools Tools > Session Record Options Session Record Options Session Record Options Session Record Options.
    2. Click the Method Method Method Method tab and make sure that Proxy recording Proxy recording Proxy recording Proxy recording is selected.
    3. Click the Method:Proxy Method:Proxy Method:Proxy Method:Proxy tab.
    4. Click Proxy Admin Proxy Admin Proxy Admin Proxy Admin.
    5. In Proxy:Port Proxy:Port Proxy:Port Proxy:Port, specify the proxy computer’s port number. Note that Robot has already detected and specified the proxy computer’s name. You can specify any available port number. Avoid the well-known ports (those below 1024). If you specify a port number that is unavailable, Robot prompts you for a new port number.
    6. In the Server:Port Server:Port Server:Port Server:Port list, select a server involved in the test.
    7. Click Create Proxy Create Proxy Create Proxy Create Proxy.

    How to associate each client in the test with the server it will communicate with?

    1. Click Tools Tools Tools Tools > Session Record Options Session Record Options Session Record Options Session Record Options.
    2. Click the Method Method Method Method tab and make sure that Proxy recording Proxy recording Proxy recording Proxy recording is selected.
    3. Click the Method:Proxy Method:Proxy Method:Proxy Method:Proxy tab.
    4. Select a client in the Client [:Port] Client [:Port] Client [:Port] Client [:Port] list. The client port is optional.
    5. Select the client’s server in the Server:Port Server:Port Server:Port Server:Port list. The server port is required.
    6. Click Add.

    Controlling the Values Accepted When an HTTP Script Is Played Back
    You can set recording options that control which status values are acceptable when a script that accesses a Web server is played back. If you do not set any recording options, the script plays back successfully only if the playback conditions exactly match the conditions during recording. However, you can set recording options so that a script plays back successfully even if:

    • The server responds with partial or full page data during record or playback.
    • The response was cached during record or playback.
    • The script was redirected to another http server during playback.
    • You are recording a number of HTTP scripts and plan to play them back in a different order.

    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