SeeTestAutomation - getApplicationInfo
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
Description
This command returns specific application info, given a key parameter for the requested information.
Currently, Seetest supports only two kinds of info, the application version number, and the application build number.
-
versionName: The application version.
In iOS, you can also use:-
CFBundleShortVersionString
-
-
releaseVersion: The application release build number.
You can use another keys specific to each OS type to retrieve the same info, for example:-
CFBundleVersion for iOS
-
versionCode for Android
-
Parameters
-
bundleId: the application package name
-
key: the requested info key name.
Code Examples
Android Example Expand source
client.getApplicationInfo("com.experitest.Eribank","versionName");
>> output: 1.2420
iOS Example Expand source
client.getApplicationInfo("com.experitest.ExperiBankO","CFBundleVersion");
>> output: 2608