TCA.endTransaction
Ends a transaction.
TCA.endTransaction(name, status);
Arguments
Name | Description |
---|---|
name | (string) Name of the transaction to end. |
status | One of the following status values: Pass, Fail, Auto |
Return value
A promise that will be fulfilled with no arguments.
Example
TCA.endTransaction("login_tr1", status).then(function(){
TCA.done();
}).catch(function (error) {
TCA.doneWithError(error);
});