Share this page

# Example: sapgui_status_bar_get_type

The following example uses sapgui_status_bar_get_type to check on the success of a transaction.

    // Send the transaction

    sapgui_press_button("Save (Ctrl+S)",

        "tbar[0]/btn[11]", LAST );

    sapgui_select_active_window("wnd[1]");

    sapgui_press_button("Hold",

        "usr/btnSPOP-VAROPTION1", LAST );

    sapgui_select_active_window("wnd[0]");

    //The value of "StatusBarType" after the call is "Success".

    sapgui_status_bar_get_type("StatusBarType", LAST );

    // Output is "Status of last action is 'Success'."

    lr_output_message("Status of last action is '%s'.",

        lr_eval_string("{StatusBarType}");

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: