DMElement.SelectByText Method

Definition

Only with SelectList. Checks the drop-down list items for the match with the specified text and selects the matching item

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
public override void SelectByText(string text)
public override void SelectByText(string text)
public override void SelectByText(string text)

Parameters

 text  string

Examples

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
tab1.SelectList (xpath1).SelectByText (“any”)
tab1.SelectList (xpath1).SelectByText (“any”)
tab1.SelectList (xpath1).SelectByText (“any”)