Process Method

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

Description

Returns the Process object that corresponds to the process that is currently running on a connected mobile device.

Declaration

DeviceObj.Process(ProcessName)

DeviceObj An expression, variable or parameter that specifies a reference to a Device object
ProcessName [in]    Required    String    
Result A Process object

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

ProcessName

The name of the process.

For Android, it is the name of the package that launched the process. For example, com.example.orders.

For iOS, it is the name of the application. For example, Orders.

The process name is case-insensitive.

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

Result Value

A Process object that corresponds to the specified process.

See Also

Device Object
About Mobile Tests

Highlight search results