KeyEvent Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Class representing a scriptable key event that can be sent to a browser window.
Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.JavascriptScriptEvent
    ArtOfTest.WebAii.JavascriptScriptUIEvent
      ArtOfTest.WebAii.JavascriptKeyEvent

Namespace:  ArtOfTest.WebAii.Javascript
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public class KeyEvent : ScriptUIEvent

The KeyEvent type exposes the following members.

Constructors

  NameDescription
Public methodKeyEvent
Initializes a new KeyEvent object.
Public methodKeyEvent(String)
Initializes a new KeyEvent object.
Public methodKeyEvent(String, Char)
Initializes a new KeyEvent object.
Top
Properties

  NameDescription
Public propertyCanBubble
Gets / Sets whether this event can bubble
(Inherited from ScriptEvent.)
Public propertyIsCancelable
Gets / Sets whether this event can be cancelled
(Inherited from ScriptEvent.)
Public propertyKeyCode
Gets / Sets the character code for this event
Public propertyModifierKeys
Gets / Sets the modifier keys bitmask
(Inherited from ScriptUIEvent.)
Public propertyType
The type of this event, for standard event types. TODO Make it so we can define custom event types
(Inherited from ScriptEvent.)
Top
Methods

  NameDescription
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 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 string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference