Click or drag to resize

IWebBrowser Interface

The test interface for a web browser process.

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

The IWebBrowser 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.
(Inherited from IProcess.)
Public propertyCPUUsage
The approximate percentage of time the CPU is currently spending for the process execution.
(Inherited from IProcess.)
Public propertyFileVersionInfo
Specifies the version information of the executable that started the process.
(Inherited from IProcess.)
Public propertyHandleCount
Returns the number of used handles in the process.
(Inherited from IProcess.)
Public propertyMemUsage
The amount of memory (in kilobytes) the process is currently using.
(Inherited from IProcess.)
Public propertyParent
The parent object.
(Inherited from IObjectTreeNode.)
Public propertyPath
The path to the executable that started the process.
(Inherited from IProcess.)
Public propertyPriority
Returns the process priority within the operating system.
(Inherited from IProcess.)
Public propertyProcessId
Returns the process identifier.
(Inherited from IProcess.)
Public propertyProcessType
Specifies the code type of the process (x64 or x86).
(Inherited from IProcess.)
Public propertySessionId
Specifies the identifier of the session in which the process is running.
(Inherited from IProcess.)
Public propertyThreadCount
Returns the number of active threads in the process.
(Inherited from IProcess.)
Public propertyUserName
The name of the user account that started the process.
(Inherited from IProcess.)
Public propertyVMSize
The amount of virtual memory (in kilobytes) the process is currently using.
(Inherited from IProcess.)
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.
(Inherited from IProcess.)
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.
(Inherited from IProcess.)
Public methodSetProperty
Sets a value for the specified property.
(Inherited from IObject.)
Public methodTerminate
Terminates the process.
(Inherited from IProcess.)
Public methodToUrl(String)
Opens the specified web page. The timeout for this operation is specified by the driver.Options.WebTesting.PageLoadTimeout setting.
Public methodToUrl(String, Int32)
Opens the specified web page.
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