TC.endTransaction

Ends a transaction.

TC.endTransaction(name, status);

Arguments

Name Description

name

(string) Name of the transaction to end.
statusOne of the following status values: Pass, Fail, Auto

Return value

A promise that is fulfilled with undefined upon success.

Example

Copy code
(async ()=>{
    await TC.endTransaction("transactionName", "Pass");
})();