The requested page is not available for selected version.
get system performance information
Description
Return the current system performance information of the test machine or device.
Arguments
cpu usage
Variable to hold the returned current CPU usage.
memory usage
Variable to hold the returned current memory usage.
running apps
(Mobile systems only) Variable to hold the returned list of currently running applications.
battery capacity
(Mobile systems only) Variable to hold the returned current battery capacity.
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Notes
- For Windows/Linux operating systems:
- The only two returned values are those for cpu usage and memory usage.
- For mobile operating systems:
- All four values (cpu usage, memory usage, running apps and battery capacity) are returned.
- If the variables in argumentscpu usage, memory usage, running apps or battery capacityhave not been declared, the action creates them as globals.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.
Applicable Built-In Settings
The following settings are applicable to this action: remove double quotes from cells.
Example - Case 1: On Windows operating system
Action Lines
Result
Example - Case 2: On mobile operating systems
Action Lines
Result