Version

xamComboEditor - Recordable Methods

Topic Overview

Purpose

This topic provides reference information about the recordable user methods for testing the xamComboEditor™ control.

In this topic

This topic contains the following sections:

xamComboEditor Test Object Recordable Methods Summary

Recordable methods summary chart

The following table briefly explains the recordable methods for testing the control. Detailed information about the methods is provided in the text blocks following the table.

Method * Description*

Selects an item from the xamComboEditor drop down list.

SelectItem Method

Description

The SelectItem method records and replays the xamComboEditor’s item selection from the drop down list.

Details

No additional details.

Parameters

The following table explains the method’s parameters along with some sample code.

Method Parameter Description

Displayed text of the item to be selected

(default)

The method is using the displayed text to select the xamComboEditor item.

Example

Selecting the xamComboEditor item “Item 2”:

WpfWindow("MainWindow").XamComboEditor("xamComboEditor1").SelectItem “Item 2”

Index of the item to be selected

The method is using the integer index to select the xamComboEditor item.

Example

Selecting the xamComboEditor item with index 5:

WpfWindow("MainWindow").XamComboEditor("xamComboEditor1").SelectItem 5

Default Setting

The item selection action is recorded with the displayed text passed as a parameter.

Possible Exceptions

The following table lists the possible exceptions for the method and the reason that is likely to be causing them.

Exception name Exception description Possible reasons

IndexOutOfRange

The index that is specified is not in the valid range.

The method parameter is not valid.

Related Topics

The following table lists other topics you may find useful.

Topic Purpose

This topic provides information about the user actions of the xamComboEditor™ control which you can test and the elements you can inspect.

This topic provides reference information about the inspectable test object properties of the xamComboEditor™ control.

This topic provides reference information about the proxy class that supports the testing of the xamComboEditor™ control in Micro Focus Unified Functional Testing software.

This topic provides reference information about the recordable user methods for testing the xamComboEditor™ control.