skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • 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 PromptDialog

Inheritance
System.Object
BaseDialog
PromptDialog
Inherited Members
BaseDialog.m_browserVersionMajor
BaseDialog.ValidatePid(Int32)
BaseDialog.SetDialogWindow(Window)
BaseDialog.IsDialogActiveByTitle(WindowCollection, String)
BaseDialog.IsDialogActiveByTitle(WindowCollection, String, Boolean)
BaseDialog.IsRejectedViaRegexOrExactMatch(String, Object)
BaseDialog.IsDialogActiveByTitleAndTextContent(WindowCollection, String, Boolean, String)
BaseDialog.ToString()
BaseDialog.ResetHandleCount()
BaseDialog.WaitUntilHandled(Int32)
BaseDialog.WaitUntilHandled()
BaseDialog.WaitUntilHandled(Int32, Int32, Boolean)
BaseDialog.WaitUntilAnyHandled(IEnumerable<BaseDialog>, Int32, Int64, Boolean)
BaseDialog.OnBeforeHandle(EventArgs)
BaseDialog.ParentBrowser
BaseDialog.ErrorText
BaseDialog.CurrentState
BaseDialog.Window
BaseDialog.HandleCount
BaseDialog.HandlerDelegate
BaseDialog.DismissButton
BaseDialog.SkipHandling
BaseDialog.Tags
BaseDialog.InitializationTime
BaseDialog.BeforeHandle
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Win32.Dialogs
Assembly: ArtOfTest.WebAii.dll

Syntax

public class PromptDialog : BaseDialog, IDialog

Constructors

PromptDialog(Browser, DialogButton, String)

Declaration
public PromptDialog(Browser parentBrowser, DialogButton dismissButton, string text)
Parameters
Browser parentBrowser

DialogButton dismissButton

System.String text

Fields

CANCEL_BUTTON_ID

Declaration
public const int CANCEL_BUTTON_ID = 2
Field Value
System.Int32

EDIT_ID

Declaration
public const int EDIT_ID = 8133
Field Value
System.Int32

OK_BUTTON_ID

Declaration
public const int OK_BUTTON_ID = 1
Field Value
System.Int32

TITLE_REGEX

Declaration
public static readonly Regex TITLE_REGEX
Field Value
System.Text.RegularExpressions.Regex

USUAL_TITLE

Declaration
public static readonly string USUAL_TITLE
Field Value
System.String

Properties

Text

Declaration
public string Text { get; set; }
Property Value
System.String

Methods

CreatePromptDialog(Browser, DialogButton, String)

Declaration
public static PromptDialog CreatePromptDialog(Browser parentBrowser, DialogButton dismissButton, string text)
Parameters
Browser parentBrowser

DialogButton dismissButton

System.String text

Returns
PromptDialog

Handle()

Declaration
public override void Handle()
Overrides
BaseDialog.Handle()
Implements
IDialog.Handle()

IsDialogActive(WindowCollection)

Declaration
public override bool IsDialogActive(WindowCollection dialogs)
Parameters
WindowCollection dialogs

Returns
System.Boolean

Overrides
BaseDialog.IsDialogActive(WindowCollection)
Implements
IDialog.IsDialogActive(WindowCollection)

MatchesUIAutomationElement(AutomationElement)

Declaration
public override bool MatchesUIAutomationElement(AutomationElement element)
Parameters
System.Windows.Automation.AutomationElement element

Returns
System.Boolean

Overrides
BaseDialog.MatchesUIAutomationElement(AutomationElement)
Implements
IDialog.MatchesUIAutomationElement(AutomationElement)
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.