Search Results for

    Show / Hide Table of Contents

    Class ComboBox

    Defines a wrapper for the core ComboBox control.

    Inheritance
    System.Object
    UnoElementWrapper
    ComboBox
    Inherited Members
    UnoElementWrapper.Element
    UnoElementWrapper.Driver
    UnoElementWrapper.IsEnabled
    UnoElementWrapper.IsVisible
    UnoElementWrapper.FindElement(By)
    UnoElementWrapper.FindElements(By)
    UnoElementWrapper.Click()
    UnoElementWrapper.GetAttribute(String)
    UnoElementWrapper.VerifyElementShown(By)
    UnoElementWrapper.VerifyElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementsShown(By)
    UnoElementWrapper.VerifyElementsShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementNotShown(By)
    UnoElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Uno.Elements
    Assembly: Legerity.Uno.dll
    Syntax
    public class ComboBox : UnoElementWrapper

    Constructors

    | Improve this Doc View Source

    ComboBox(IWebElement)

    Initializes a new instance of the ComboBox class.

    Declaration
    public ComboBox(IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The reference.

    | Improve this Doc View Source

    ComboBox(RemoteWebElement)

    Initializes a new instance of the ComboBox class.

    Declaration
    public ComboBox(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The reference.

    Properties

    | Improve this Doc View Source

    SelectedItem

    Gets the currently selected item.

    Declaration
    public virtual string SelectedItem { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    SelectItem(String)

    Selects an item in the combo-box with the specified item name.

    Declaration
    public virtual void SelectItem(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the item to select.

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to ComboBox)

    Allows conversion of a to the ComboBox without direct casting.

    Declaration
    public static implicit operator ComboBox(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    ComboBox

    The ComboBox.

    Extension Methods

    ElementWrapperExtensions.WaitUntil<TElementWrapper>(TElementWrapper, Func<TElementWrapper, Boolean>, Nullable<TimeSpan>)
    ElementWrapperExtensions.FindWebElementByXamlType(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByXamlName(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByAutomationId(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdEquals(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdContains(UnoElementWrapper, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps