Method ExistTransactionStop
Stops the Transaction counter when the object is found in the AUTUsage
Function ExistTransactionStop(
String TransactionName,
Long MsTimeOut [Optional],
Boolean Report [Optional]
)
Parameters
TransactionName
Type: String
The name of the transaction to stop
MsTimeOut (optional)
Type: Long
Default Value: Global timeout value (from ZAPTEST Options)
Optional time out value
Report (optional)
Type: Boolean
Default Value: True
Generate report for this step
Returns
True if object is found, False is object is not found
Example
VBScript
Application("Demo").ExistTransactionStop "Transaction 1"
'Add timeout
Application("Demo").ExistTransactionStop "Transaction 1", 10000
'Remove this step from report
Application("Demo").ExistTransactionStop "Transaction 1", 10000, false
JavaScript
Application("Demo").ExistTransactionStop("Transaction 1");
// Add timeout
Application("Demo").ExistTransactionStop("Transaction 1", 10000);
// Remove this step from report
Application("Demo").ExistTransactionStop("Transaction 1", 10000, false);
Comment
Set MsTimeOut and Report optional parameters