Share this page

# 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

Copy code

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

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: