This function verifies the current statusbar text of the SapGui application.
SapGui.bdh
SapGuiVerifyStatusBarText( in sValue    : string, 
                           in nOptions  : number optional,
                           in nSeverity : number optional := SEVERITY_ERROR ) : boolean; 
               	 | Parameter | Description | 
|---|---|
| sValue | Value to be compared with the current statusbar text. | 
| nOptions |  This parameter specifies the type of check to be performed. Available options are: 
                           				  
                           
  |  
                        			 
                     
| nSeverity |  
                           				  Optional: Severity of the error that is raised if the verification fails. Can be one of the following values: 
                               
                           				  
                           
  |  
                        			 
                     
transaction TMain
  var
  begin
    // Connecting to SAP
    sConnID := SapGuiOpenConnection( " /SAP_CODEPAGE=1100 /FULLMENU 10.5.2.132 0 /3");
    SapGuiSetActiveConnection(sConnID);
    SapGuiSetActiveSession("ses[0]");
    // SAP
    SapGuiSetActiveWindow("wnd[0]", "SAP", SAPGUI_MATCH_ExactNoCase);
    SapGuiWindowAction(SAPGUI_WND_MAXIMIZE);
    // Logon to SAP System
    // Before running a test you have to customize the password parameter!
    ThinkTime(2.0);
    SapGuiLogon("ddic", "minisap", "000", "");
    SapGuiVerifyStatusBarText("verification", SAPGUI_VERIFY_EQUAL, SEVERITY_ERROR);
  end TMain;