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 

Starting Applications
1. Do one of the following:
. If recording, click the Display GUI Insert Toolbar button on the GUI Record toolbar.
.If editing, position the pointer in the script and click the Display GUI Insert Toolbar button on the Standard toolbar.
2. Do one of the following:
. To start most applications, click the Start Application button. You can specify that you want the application to start under Rational Purify, Quantify, or PureCoverage during playback.
. To start a Java application that you want to start under Quantify or PureCoverage during playback, click the Start Java Application button.
. To start an HTML application, click the Start Browser button.
3. Fill in the dialog box and click OK.
For information about an item in the dialog box, click the question mark in the upper-right corner and then click the item.
4. Continue recording or editing the script.

How to insert a call to a previously recorded script while recording or editing?

  1. Do one of the following:
    . If recording, click the Display GUI Insert Toolbar button on the GUI Record toolbar. . If editing, position the pointer in the script and click the Display GUI Insert Toolbar button on the Standard toolbar.
  2. Click the Call Script button on the GUI Insert toolbar.
  3. Select a GUI script from the list.
  4. Do one of the following:
    . Select Run Now if the script being recorded depends on the state in which the called script leaves the application-under-test. If this check box is selected, Robot adds the script call to the recording script and immediately plays back the called script when you click OK. .Clear Run Now if the called script starts and ends at the same point in the application-under-test, so that the script being recorded does not depend on the called script. If this check box is cleared, Robot adds the script call to the recording script but does not play back the called script when you click OK.
  5. Click OK to continue recording or editing.

How to insert a verification point while recording or editing a script?

  1. Do one of the following:
    . If recording, click the Display GUI Insert Toolbar button on the GUI Record toolbar. . If editing, position the pointer in the script and click the Display GUI Insert Toolbar button on the Standard toolbar.
  2. Click a verification point button on the GUI Insert toolbar.
  3. In the Verification Point Name dialog box, edit the name of the verification point as appropriate. Robot automatically names the verification point with the verification point type, and adds a number if there is more than one of the same type in the script.
  4. Optionally, set the Wait state options. The wait state specifies how often Robot should retry the verification point until it passes or times out, and how long Robot should keep trying the verification point before it times out.
  5. Optionally, set the Expected result option. When you create a verification point, the expected result is usually that the verification point will pass - for example, that a window does exist during playback. However, you can also indicate that you expect the verification point to fail - for example, that a window does not exist during playback.
  6. Click OK.

Measuring Specific Task Performance
1. During recording, start a timer.
2. Start an application task or transaction
3. Insert a verification point with a wait state.
For example, insert a Window Existence verification point that waits up to 30 seconds for a window that indicates the task is complete. 4. Stop the timer.
5. Continue recording other actions or stop the recording. After you play back the script, the log shows the timing results.

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