Process Method

Applies to TestComplete 15.63, last modified on April 10, 2024
The information below concerns legacy mobile tests that work with mobile devices connected to the local computer. For new mobile tests, we recommend using the newer cloud-compatible approach.


Returns the iOSProcess object that corresponds to the application that is currently running on the given iOS device.

TestComplete recognizes processes of only those applications that were prepared for testing in a special way.

In addition, in order for TestComplete to be able to access an iOS device connected to your computer, prepare your computer and TestComplete for testing. For more information, see Preparing Applications, Devices, and Test Computers for iOS Testing (Legacy).



iOSDeviceObj An expression, variable or parameter that specifies a reference to an iOSDevice object
ProcessName [in]    Required    String    
Result An iOSProcess object

Applies To

The method is applied to the following object:


The method has the following parameter:


The application’s process name, for example, Orders. The process name is case-insensitive.

You can use wildcards (* and ?) to search by a partial name like *Orders.

Result Value

An iOSProcess object that corresponds to the specified process.


The code below obtains the process by its name:

JavaScript, JScript

function GetProcess()
  var proc = Mobile.Device("iOSDevice").Process("Orders");


Sub GetProcess
  Set proc = Mobile.Device("iOSDevice").Process("Orders")
End Sub


procedure GetProcess();
var proc;
  proc := Mobile.Device('iOSDevice').Process('Orders');

C++Script, C#Script

function GetProcess()
  var proc = Mobile["Device"]("iOSDevice")["Process"]("Orders");

See Also

iOSDevice Object
WaitProcess Method
Process Method (Android Testing)
Testing iOS Applications (Legacy)

Highlight search results