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
- By Content - to verify that the recorded values exist during playback.
- By Location - to verify that the recorded values exist in the same locations during playback.
- 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.
- By Key/Value - to verify that the recorded values in a row remain the same during playback.
How to code a script manually?
- In Robot, click File > New > Script.
- Type a script name (40 characters maximum) and, optionally, a description of the script.
- Click GUI.
- 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 - Begin coding the GUI script.
No comments:
Post a Comment