Share this page

# Example: TE_type

The following segment sends an amount to be deposited and waits for the client application to respond.

     /* Declare variables for TE_wait_text */

    int ret_row;

    int ret_col;

    char ret_text [80];

    lr_start_transaction (command);

     /* send amount */

    TE_type ("{deposit_amount}<kReturn>");

     /* Wait for response */

    TE_wait_text ("!Operation failed|Withdraw", 30, 1, 1, 0, 0, NULL, NULL, match);

    if (TE_errno != TE_SUCCESS) {

        lr_end_transaction (command, LR_FAIL);

        lr_error_message ("TE_wait_text failed \n);

        return:

    }

    else {

        lr_end_transaction (command, LR_SUCCESS);

    }

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