AndroidClientVersion Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

Returns the version of TestComplete Android Agent installed on the device.

Declaration

AndroidProcessObj.AndroidClientVersion

Read-Only Property String
AndroidProcessObj An expression, variable or parameter that specifies a reference to an AndroidProcess object

Applies To

The property is applied to the following object:

Property Value

The version of the Android Agent that is currently installed on the device.

Example

The following code example posts the Android Agent version to the test log:

JavaScript, JScript

Log.Message("The version of the installed Android Agent:" + Mobile.Device("VirtualBox").Process("com.example.orders").AndroidClientVersion);

Python

Log.Message("The version of the installed Android Agent:" + VarToStr(Mobile.Device("VirtualBox").Process("com.example.orders").AndroidClientVersion))

VBScript

Log.Message("The version of the installed Android Agent:" & Mobile.Device("VirtualBox").Process("com.example.orders").AndroidClientVersion)

DelphiScript

Log.Message('The version of the installed Android Agent:' + VarToStr(Mobile.Device('VirtualBox').Process('com.example.orders').AndroidClientVersion));

C++Script, C#Script

Log["Message"]("The version of the installed Android Agent:" + Mobile["Device"]("VirtualBox")["Process"]("com.example.orders")["AndroidClientVersion"]);

See Also

AndroidProcess Object
About TestComplete Android Agent (Legacy)
Testing Android Applications (Legacy)

Highlight search results