TCA.endTransaction

Ends a transaction.

TCA.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 will be fulfilled with no arguments.

Example

Copy code
TCA.endTransaction("login_tr1", status).then(function(){
  TCA.done();
}).catch(function (error) {
  TCA.doneWithError(error);
});