IProcess Interface |
Namespace: SmartBear.TestLeft.TestObjects
The IProcess type exposes the following members.
Name | Description | |
---|---|---|
![]() | Children |
Gets the collection of child objects.
(Inherited from IObjectTreeNode.) |
![]() | CommandLine |
The command line passed to the process at the moment of the process creation.
|
![]() | CPUUsage |
The approximate percentage of time the CPU is currently spending for the process execution.
|
![]() | FileVersionInfo |
Specifies the version information of the executable that started the process.
|
![]() | HandleCount |
Returns the number of used handles in the process.
|
![]() | MemUsage |
The amount of memory (in kilobytes) the process is currently using.
|
![]() | Parent |
The parent object.
(Inherited from IObjectTreeNode.) |
![]() | Path |
The path to the executable that started the process.
|
![]() | Priority |
Returns the process priority within the operating system.
|
![]() | ProcessId |
Returns the process identifier.
|
![]() | ProcessType |
Specifies the code type of the process (x64 or x86).
|
![]() | SessionId |
Specifies the identifier of the session in which the process is running.
|
![]() | ThreadCount |
Returns the number of active threads in the process.
|
![]() | UserName |
The name of the user account that started the process.
|
![]() | VMSize |
The amount of virtual memory (in kilobytes) the process is currently using.
|
Name | Description | |
---|---|---|
![]() | CallMethodT(String, Object) |
Invokes the specified method and returns the result.
(Inherited from IObject.) |
![]() | CastT |
Casts the interface to an interface of another type.
(Inherited from IObject.) |
![]() | Close |
Closes the process by sending the close command to its main window and waits until the process is closed or the specified time limit is reached.
|
![]() | FindT(ISearchPattern, Int32) |
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) |
![]() | FindT(ISearchPattern, Int32, Int32) |
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.) |
![]() | FindAllT |
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
(Inherited from IObjectTreeNode.) |
![]() | GetPropertyT |
Returns the value of the specified property.
(Inherited from IObject.) |
![]() | SaveDumpToLog |
Generates a process dump and posts it to the log.
|
![]() | SetProperty |
Sets a value for the specified property.
(Inherited from IObject.) |
![]() | Terminate |
Terminates the process.
|
![]() | TryFindT(ISearchPattern, T) |
Searches for an object that matches the specified pattern (the search depth is 1). The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) |
![]() | TryFindT(ISearchPattern, Int32, T) |
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) |
![]() | TryFindT(ISearchPattern, Int32, Int32, T) |
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.) |
![]() | WaitProperty(String, Object) |
Delays the test execution until the specified property equals the specified value or until the default time limit AutoWaitTimeout is reached.
(Inherited from IObjectTreeNode.) |
![]() | WaitProperty(String, Object, Int32) |
Delays the test execution until the specified property equals the specified value or until the specified time limit is reached.
(Inherited from IObjectTreeNode.) |