Monday, May 22, 2006

Rational Robot FAQ

What Is Rational Robot?
Rational Robot is a complete set of components for automating the testing of Microsoft Windows client/server and Internet applications.
The main component of Robot lets you start recording tests in as few as two mouse clicks. After recording, Robot plays back the tests in a fraction of the time it would take to repeat the actions manually.


How to create a datapool?
When creating a datapool, you specify the kinds of data (called data types) that the script will send for example, customer names, addresses, and unique order numbers or product names. When you finish defining the datapool, TestManager automatically generates the number of rows of data that you specify.


There are four identification methods

  1. By Content - to verify that the recorded values exist during playback.
  2. By Location - to verify that the recorded values exist in the same locations during playback.
  3. By Title - to verify that the recorded values remain with their titles (names of menus or columns) during playback, even though the columns may have changed locations.
  4. By Key/Value - to verify that the recorded values in a row remain the same during playback.

How to code a script manually?

  1. In Robot, click File > New > Script.
  2. Type a script name (40 characters maximum) and, optionally, a description of the script.
  3. Click GUI.
  4. Click OK. Robot creates an empty script with the following lines:
    Sub Main
    Dim Result As Integer
    'Initially Recorded: 01/17/05 14:55:53
    'Script Name: GUI Script
    End Sub
  5. Begin coding the GUI script.

More ......

No comments: