Android EngineComponentCommands::GetTopLevelCount
DRD:DEV

Get the number of visible top-level items (Windows?) for the engine.

Returns the number of visible top-level items, or 0. Not all engines can see all items. For example, Selenium only looks for Web clients. Some engines may only look for Java clients, etc.. Some engines can see other top-level items that are not Windows--like Processes, or Threads, etc...

The Android Engine also persists these values as SAFS variables.

            ^DroidEngine.Command    = [command]
            ^DroidEngine.StatusCode = [statuscode string]
            ^DroidEngine.StatusInfo = [statusinfo]
            

See DEngineCommandProcessor.setStatusVars().

The TestComplete Engine (TCAFS) also persists these values as SAFS variables.

            
            ^TCAFS.Command    = [command]
            ^TCAFS.StatusCode = [statuscode string]
            ^TCAFS.StatusInfo = [statusinfo]
            


Fields: [ ]=Optional with Default Value
    Examples:
    [How To Read This Reference]