ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
BrowserCommand class
Represents a command that we will pass back and forth between the browser and client to perform actions and return information from the browser.
Syntax
C#
[SerializableAttribute]
public class BrowserCommand
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
BrowserCommandNew(BrowserCommandType, BrowserInformationType, BrowserActionType, String, ElementIdMessage)
Create a new BrowserCommand object.
ActionType
Gets/Sets the type of action the command is requesting.
ClientId
Gets/Sets the id of the client that this command originated from.
CommandType
Gets/Sets the Command type for this command.
static memberCreate(Element, BrowserCommandType)
Create an empty command to be used.
Data
Gets/Sets any additional data needed to help process the command. (i.e. Text for SetText)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FramesInfo
Gets/Sets the frames information of any sub frames if HasFrames is true.
GetHashCode()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
HasFrames
Whether the current document has frames or not. This value is set when the Info.DocumentMarkup command is executed.
InError
Gets/Sets the state of error for this command. If InError is true, Response string contains the error message. Otherwise, Response contains the expected response.
InformationType
Gets/Sets the type of information the command is requesting.
IsDialog
Gets/Sets whether this command is coming from a Modal dialog.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Response
Gets/Sets the response of the command from the browser.
Target
Gets/Sets the target element for this command.
TargetFrameIndex
The target frame index to execute the command against. Else -1, the command will be executed against the main browser window document.
ToString()
String representation of a BrowserCommand.
(Overrides Object.ToString().)
Inheritance Hierarchy
Object
BrowserCommand

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)