Mobile SUT Information
Use these commands and functions in your SenseTalk scripts to gather information about your Eggplant Functional mobile systems under test (SUTs). See Mobile Commands and Functions by Mobile Device Type for a summary of supported SenseTalk commands, functions, and typetext keywords for different mobile devices.
AppList
Function
This command is not supported by Sauce Labs.
Behavior: The AppList
function returns a list of apps installed on a connected mobile device.
Parameters: None, Simple
, or Full
.
Syntax:
AppList( {listType} )
Returns: When you use the function with no parameter, it returns the list of apps that was most recently retrieved from the connected mobile device (possibly not since the connection was established). When called with a parameter, it requests a refreshed list of apps from the device. This updated list reflects any apps that have been installed or uninstalled since connecting to the device.
Using the Simple
parameter with AppList()
is much the same as using the function with no parameter except it requests an updated list of apps from the device. The returned list might appear something like the following:
(com.sec.android.widgetapp.dualclockdigital,com.blurb.checkout,com.google.android.youtube,com.sec.android.widgetapp.activeapplicationwidget,com.android.chrome,com.sec.android.Kies,com.sec.dsm.system,com.wowwee.mip,com.sec.yosemite.tab,com.sec.esdk.elm)