skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class KeyPressDescriptor

Inheritance
System.Object
DataBoundObject
AutomationDescriptor
ActionDescriptor
DesktopActionDescriptorBase
KeyPressDescriptor
Inherited Members
DesktopActionDescriptorBase.TechnologyType
DesktopActionDescriptorBase.SearchByImageFirst
AutomationDescriptor._elementDescriptors
AutomationDescriptor._dataBindingExpressions
AutomationDescriptor._type
AutomationDescriptor._waitOnElementsExistFirst
AutomationDescriptor._searchByImageFirst
AutomationDescriptor._waitOnElementsExistTimeout
AutomationDescriptor._pauseType
AutomationDescriptor._testMethod
AutomationDescriptor._editorType
AutomationDescriptor._quickTasks
AutomationDescriptor._targets
AutomationDescriptor._hasQuickTask
AutomationDescriptor._dynamicReadOnlyProperties
AutomationDescriptor._dynamicVisibilityProperties
AutomationDescriptor.OnBeforeElementDescriptorAdded(String, ITargetElement, FindExpressionElement)
AutomationDescriptor.OnBeforeConfirmRecording(Object)
AutomationDescriptor.GetProjectLanguage()
AutomationDescriptor.Clone()
AutomationDescriptor.UsesTarget(String)
AutomationDescriptor.HasRequiredValue(String)
AutomationDescriptor.IsDataBound(String)
AutomationDescriptor.BindData(String)
AutomationDescriptor.BindDataCode(String, String, Type)
AutomationDescriptor.ChangeTarget(ElementDescriptor, String)
AutomationDescriptor.GetParentsReference(ElementDescriptor)
AutomationDescriptor.CreateElementFindExpression(String)
AutomationDescriptor.CreateElementReference(String)
AutomationDescriptor.CreateElementReference(String, Boolean, Int32)
AutomationDescriptor.GetValidVariableName(String)
AutomationDescriptor.GetNumberedVariableName(String)
AutomationDescriptor.InvokeMethod(String, String, Object[])
AutomationDescriptor.InvokeMethod(String, String, CodeGenerationLanguage, Object[])
AutomationDescriptor.InvokeMethod(String, Type, Boolean, String, Object[])
AutomationDescriptor.InvokeMethod(String, Type, Boolean, String, CodeGenerationLanguage, Object[])
AutomationDescriptor.InvokeMethod(String, Boolean, String, Object[])
AutomationDescriptor.InvokeMethod(String, Boolean, String, CodeGenerationLanguage, Object[])
AutomationDescriptor.InvokeMethod(CodeExpression, Boolean, String, Object[])
AutomationDescriptor.InvokeMethod(CodeExpression, Boolean, String, CodeGenerationLanguage, Object[])
AutomationDescriptor.InvokeWaitForExistsMethod(CodeExpression)
AutomationDescriptor.ParseParameters(Object[], Boolean, CodeGenerationLanguage)
AutomationDescriptor.InvokeWaitMethod(String, Type, Int32, Int32, CodeExpression)
AutomationDescriptor.InvokeWaitMethod(String, Type, Int32, Int32, CodeExpression, CodeGenerationLanguage)
AutomationDescriptor.GenerateLambdaVariableRef()
AutomationDescriptor.GenerateLambdaVariableRef(Int32)
AutomationDescriptor.GenerateLambdaExpression(CodeVariableReferenceExpression, CodeExpression, Boolean)
AutomationDescriptor.GenerateLambdaExpression(CodeVariableReferenceExpression[], CodeExpression, Boolean)
AutomationDescriptor.GenerateTernaryExpression(CodeExpression, CodeExpression, CodeExpression)
AutomationDescriptor.GetLambdaVariableReference()
AutomationDescriptor.GetLambdaExpression(CodeGenerationLanguage, CodeExpression)
AutomationDescriptor.GetLambdaExpression(CodeGenerationLanguage, CodeExpression, Boolean)
AutomationDescriptor.GetNoParamLamdaExpression(CodeGenerationLanguage, CodeExpression)
AutomationDescriptor.InvokeWaitMethod(String, Type, Int32, Int32, String, Object[])
AutomationDescriptor.InvokeWaitMethod(String, Type, Int32, Int32, String, CodeGenerationLanguage, Object[])
AutomationDescriptor.SetProperty(String, Type, Object)
AutomationDescriptor.SetProperty(String, Type, Object, CodeGenerationLanguage)
AutomationDescriptor.SetProperty(CodeExpression, Object)
AutomationDescriptor.SetProperty(CodeExpression, Object, CodeGenerationLanguage)
AutomationDescriptor.NotifyElementNameChange(ElementDescriptor)
AutomationDescriptor.GetHashCode()
AutomationDescriptor.OnPropertyChanged(String)
AutomationDescriptor.GetAttributes()
AutomationDescriptor.GetClassName()
AutomationDescriptor.GetComponentName()
AutomationDescriptor.GetConverter()
AutomationDescriptor.GetDefaultEvent()
AutomationDescriptor.GetDefaultProperty()
AutomationDescriptor.GetEditor(Type)
AutomationDescriptor.GetEvents(Attribute[])
AutomationDescriptor.GetEvents()
AutomationDescriptor.GetProperties(Attribute[])
AutomationDescriptor.GetProperties()
AutomationDescriptor.GetPropertyOwner(PropertyDescriptor)
AutomationDescriptor.AreSameIncludingElements(AutomationDescriptor, AutomationDescriptor)
AutomationDescriptor.ConsolidateText(String, String)
AutomationDescriptor.ConsolidateText(String, String, TextTypingInfo)
AutomationDescriptor.ToString()
AutomationDescriptor.CreateControlFromTarget<TControl>(String, Int32)
AutomationDescriptor.CreateControlFromElement<TControl>(Element, Int32)
AutomationDescriptor.SupportsElementType(Type)
AutomationDescriptor.PrimaryProperties
AutomationDescriptor.SupportsConvertToCode
AutomationDescriptor.PrimaryTargetKey
AutomationDescriptor.SecondaryTargetKey
AutomationDescriptor.Pause
AutomationDescriptor.DontUseDomState
AutomationDescriptor.WaitOnElements
AutomationDescriptor.RunsAgainst
AutomationDescriptor.RunsAgainstVersion
AutomationDescriptor.RunsAgainstVersionCompare
AutomationDescriptor.Constraints
AutomationDescriptor.IsSearchByImageApllicable
AutomationDescriptor.Targets
AutomationDescriptor.ElementDescriptors
AutomationDescriptor.HasQuickTasks
AutomationDescriptor.QuickTasks
AutomationDescriptor.StepType
AutomationDescriptor.LogMessageOnFailure
AutomationDescriptor.TestMethod
AutomationDescriptor.EditorType
AutomationDescriptor.EditorTypeString
AutomationDescriptor.DataBindingExpressions
AutomationDescriptor.DynamicReadOnlyProperties
AutomationDescriptor.DynamicVisibilityProperties
AutomationDescriptor.TargetsCustomControlTypes
AutomationDescriptor.PrimaryTarget
AutomationDescriptor.SecondaryTarget
AutomationDescriptor.CustomOrFriendlyDescription
AutomationDescriptor.DescriptorType
AutomationDescriptor.CodeGenMode
AutomationDescriptor.TargetSearchAlgorithm
AutomationDescriptor.ExtensionData
AutomationDescriptor.PropertyChanged
DataBoundObject._data
DataBoundObject.BindData<T>(String)
DataBoundObject.BindDataCode(String)
DataBoundObject.BindDataCode(String, PropertyInfo)
DataBoundObject.Data
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.IntrinsicTranslators.DesktopAutomation.Descriptors.Actions
Assembly: ArtOfTest.WebAii.Design.dll

Syntax

public class KeyPressDescriptor : DesktopActionDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject

Constructors

KeyPressDescriptor()

Declaration
public KeyPressDescriptor()

Properties

Alt

Declaration
[PrimaryProperty]
public bool Alt { get; set; }
Property Value
System.Boolean

Control

Declaration
[PrimaryProperty]
public bool Control { get; set; }
Property Value
System.Boolean

FriendlyDescription

Declaration
public override string FriendlyDescription { get; }
Property Value
System.String

Overrides
AutomationDescriptor.FriendlyDescription

Key

Declaration
[DataDriven]
[PrimaryProperty]
public NormalizedKeys Key { get; set; }
Property Value
NormalizedKeys

RequiredAssemblyReferences

Declaration
public override string[] RequiredAssemblyReferences { get; }
Property Value
System.String[]

Overrides
AutomationDescriptor.RequiredAssemblyReferences

Shift

Declaration
[PrimaryProperty]
public bool Shift { get; set; }
Property Value
System.Boolean

UseStepWaitOnElementsTimout

Declaration
public override bool UseStepWaitOnElementsTimout { get; set; }
Property Value
System.Boolean

Overrides
AutomationDescriptor.UseStepWaitOnElementsTimout

WaitOnElementsTimeout

Declaration
public override int WaitOnElementsTimeout { get; set; }
Property Value
System.Int32

Overrides
AutomationDescriptor.WaitOnElementsTimeout

Methods

Execute(IAutomationHost)

Declaration
public override void Execute(IAutomationHost autoHost)
Parameters
IAutomationHost autoHost

Overrides
ActionDescriptor.Execute(IAutomationHost)

ToCode()

Declaration
public override void ToCode()
Overrides
AutomationDescriptor.ToCode()
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.