background image
<< Inserting Synchronization Points | Scope of a Synchronization Point >>
<< Inserting Synchronization Points | Scope of a Synchronization Point >>
Inserting a Synchronization Point During Editing
Synchronization Points
8-11
2. Click the Sync Point button immediately before you begin to record the activity
that you are synchronizing.
For example, to synchronize multiple virtual testers so that they all submit a
query at the same time, first insert the synchronization point, and then perform
the user action that sends the query to the server.
3. Type the synchronization point name.
4. Click OK.
When you insert a synchronization point during recording, the command is reported
as an annotation in the Annotations window.
Inserting a Synchronization Point During Editing
You can only use the Session Insert toolbar to insert a synchronization point into a
script during recording. To insert a synchronization point during editing, type a
synchronization point command into a script.
For information on inserting synchronization points in VU scripts, see the
sync_point
command in the VU Language Reference.
For information on inserting synchronization points in Visual Basic scripts, see the
SyncPoint
method in Rational Test Script Services for Visual Basic.
For information on inserting synchronization points in SQABasic scripts, see the
SQASyncPointWait
command in SQABasic Language Reference.
Inserting a Synchronization Point into a Suite
When you insert a synchronization point into a suite, you can do more than simply
assign a synchronization point name to a script. For example:
þ
You can specify whether you want the virtual testers to be released at the same
time or at different times.
If the virtual testers are to be released at different times (that is, in a staggered
fashion), you can specify the minimum and maximum times within which all
virtual testers must be released.
þ
You can specify a timeout period.
For more information about inserting a synchronization point into a suite, see Using
Rational TestManager
.