It is used to find the execution time of enclosed VB script Statements. Each transaction name should have an associated Start Transaction and End Transaction. The Start Transaction statement must appear before the associated End Transaction. A transaction can be inserted anywhere in your test, but must start and end within the same action.
Inserting Start and End Transaction:
Step 1: Enter the Script in the test.
Step 2: Place the cursor at the required place in the test Script to enclose.
Step 3: Click on Insert>Start Transaction.
Step 4: Start Transaction dialog box appears.
Step 5: Then enter the start transaction Name. Eg: Login.
Step 6: Select Insert Statement as Before Current Step, Click on OK.
Step 7: Now Start Transaction Script will be inserted in front of the current step you selected.
Step 7: Click on Insert>End Transaction.
Step 8: End Transaction dialog box appears.
Step 9: Then Enter the End Transaction Name. Eg: Login.
Step 10: Select Insert Statement as After Current Step, click on OK.
Step 11: Now End Transaction Script will be inserted at the end of the current step you selected.
Step 12: Execute the script to Analyze the Result.
No comments:
Post a Comment