Click or drag to resize

WebBrowserPattern Class

A search pattern for Web browser processes: Chrome, Edge, Internet Explorer and others.
Inheritance Hierarchy
SystemObject
  SmartBear.TestLeft.TestObjectsSearchPatternBase
    SmartBear.TestLeft.TestObjects.WebWebBrowserPattern

Namespace:  SmartBear.TestLeft.TestObjects.Web
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
public class WebBrowserPattern : SearchPatternBase

The WebBrowserPattern type exposes the following members.

Constructors
  NameDescription
Public methodWebBrowserPattern
Creates a new instance of the WebBrowserPattern class.
Top
Properties
  NameDescription
Public propertyBrowserIndex
Specifies the browser instance number. Use this property to distinguish several instances of the same browser running in the operating system. You can check the BrowserIndex value in the TestLeft UI Spy panel.
Public propertyObjectIdentifier
Specifies the browser type. This is the browser's executable name without the extension, for example: chrome, iexplore, firefox.
Top
Methods
  NameDescription
Public methodAdd
Adds a custom property to the search pattern and returns the pattern object. You can explore your tested application in the TestLeft UI Spy to choose the appropriate property and value.
Protected methodDoAddCustomItem
Adds a custom property to the search pattern.
(Inherited from SearchPatternBase.)
Protected methodDoAddOwnItems (Overrides SearchPatternBaseDoAddOwnItems(SearchPatternBaseSearchPatternItems).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPatternItems (Inherited from SearchPatternBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a user-friendly string representation of properties and values used in the search pattern.
(Inherited from SearchPatternBase.)
Top
See Also