Share this page

GetButton Method (IToolBar)
Returns the button with the specified text.

C# Syntax

    IToolBarButton GetButton(
       string text
    )

Parameters

text
  The text.

Example

    // Clicking the JEditorPane button displays the editor test object.
    toolBar.GetButton("JEditorPane").Press();

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: