Click or drag to resize

IProcess Interface

The test interface to a process running in the operating system.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.60.289.11 (14.60.289.11)
Syntax
public interface IProcess : IObjectTreeNode, 
	IObject

The IProcess type exposes the following members.

Properties
  NameDescription
Public propertyChildren
Gets the collection of child objects.
(Inherited from IObjectTreeNode.)
Public propertyCommandLine
The command line passed to the process at the moment of the process creation.
Public propertyCPUUsage
The approximate percentage of time the CPU is currently spending for the process execution.
Public propertyFileVersionInfo
Specifies the version information of the executable that started the process.
Public propertyHandleCount
Returns the number of used handles in the process.
Public propertyMemUsage
The amount of memory (in kilobytes) the process is currently using.
Public propertyParent
The parent object.
(Inherited from IObjectTreeNode.)
Public propertyPath
The path to the executable that started the process.
Public propertyPriority
Returns the process priority within the operating system.
Public propertyProcessId
Returns the process identifier.
Public propertyProcessType
Specifies the code type of the process (x64 or x86).
Public propertySessionId
Specifies the identifier of the session in which the process is running.
Public propertyThreadCount
Returns the number of active threads in the process.
Public propertyUserName
The name of the user account that started the process.
Public propertyVMSize
The amount of virtual memory (in kilobytes) the process is currently using.
Top
Methods
  NameDescription
Public methodCallMethodT(String, Object)
Invokes the specified method and returns the result.
(Inherited from IObject.)
Public methodCastT
Casts the interface to an interface of another type.
(Inherited from IObject.)
Public methodClose
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.
Public methodFindT(ISearchPattern, Int32)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodFindT(ISearchPattern, Int32, Int32)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodFindAllT
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
(Inherited from IObjectTreeNode.)
Public methodGetPropertyT
Returns the value of the specified property.
(Inherited from IObject.)
Public methodSaveDumpToLog
Generates a process dump and posts it to the log.
Public methodSetProperty
Sets a value for the specified property.
(Inherited from IObject.)
Public methodTerminate
Terminates the process.
Public methodTryFindT(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.)
Public methodTryFindT(ISearchPattern, Int32, T)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodTryFindT(ISearchPattern, Int32, Int32, T)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodWaitProperty(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.)
Public methodWaitProperty(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.)
Top
See Also