global, variable, set, add, update, scriptless, script-less, scripted, step, view, stepview

Method Zap.StartTransaction

Defines new transaction by "name" and starts timer to measure time between steps.

StartTransaction and EndTransaction must be used in pairs and can include one or several steps. StartTransaction starts timer, EndTransaction stops timer and reports time value to the test result

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.StartTransaction(
	String Name
)

ZAP Utility

Zap.StartTransaction

demo

Name

Parameters

Name

Type: String

Transaction name

Returns

No return value

Example

VBScript

Zap.StartTransaction "demo"
Zap.Wait 3
Zap.EndTransaction "demo"

JavaScript

Zap.StartTransaction("demo");
Zap.Wait(3);
Zap.EndTransaction("demo");

ZAP Utility

Zap.StartTransaction

demo

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227