Version

Summaries

Topic Overview

Purpose

This topic provides reference information about the recordable user methods related to the testing of the summaries in the xamGrid™ control.

In this topic

This topic contains the following sections:

Recordable Methods

Recordable methods summary chart

The following table summarizes the purpose and functionality of the recordable methods for testing the summaries in the xamGrid control.

Method Description

Closes a xamGrid column summary menu.

Opens a xamGrid column summary menu.

CloseSummaryMenu

Description

The CloseSummaryMenu method is recorded in a test when a summary menu is closed for a specified xamGrid column.

Details

When replaying the method :

  1. The specified column header is verified.

  2. A check is performed to verify that summaries are allowed.

  3. The summary menu closes.

This method takes the column header as a parameter.

Parameters

The following table maps the desired configuration to its parameters’ settings.

In order to: Use this parameter: And set it to:

Specify the column the summary menu of which is to be closed

sHeaderArg

The column header key

Example

Closing a summary menu for the ContactName xamGrid column.

WpfWindow("WPFApplication1").XamGrid("xamGrid1").CloseSummaryMenu "[ContactName]"

Default setting

No default setting.

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

The argument is malformed.

The parameter’s format is incorrect.

The method’s parameter is not in a valid format.

The following item was not found.

The specified item cannot be located when replaying the method.

The method’s parameter is not correct.

The element is not visible.

The item is not visible and replaying the method fails.

The item on which the action is performed either doesn’t exist or is hidden.

OpenSummaryMenu

Description

The OpenSummaryMenu method is recorded in a test when a summary menu is opened for a specified xamGrid column.

Details

When replaying the method :

  1. The specified column header is verified.

  2. A check is performed to verify that summaries are allowed.

  3. The summary menu opens.

This method takes the column header as a parameter.

Parameters

The following table maps the desired configuration to its parameters’ settings.

In order to: Use this parameter: And set it to:

Specify the column which summaries menu is opened

sHeaderArg

To a column header

Example

Opening a summary menu for the ContactName xamGrid column.

In XML:

WpfWindow("WPFApplication1").XamGrid("xamGrid1").OpenSummaryMenu "[ContactName]"

Default setting

No default setting.

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

The argument is malformed.

The parameter’s format is incorrect.

The method’s parameter is not in a valid format.

The following item was not found.

The specified item cannot be located when replaying the method.

The method’s parameter is not correct.

The element is not visible.

The item is not visible and replaying the method fails.

The item on which the action is performed either doesn’t exist or is hidden.

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic provides reference information about the recordable user methods related to the testing of the display features in the xamGrid control.

This topic provides reference information about the recordable user methods related to the testing of the editing in the xamGrid control.

This topic provides reference information about the recordable user methods related to the testing of the filtering in the xamGrid control.

This topic provides reference information about the recordable user methods related to the testing of the navigation and selection in the xamGrid control.

This topic provides reference information about the recordable user methods related to the testing of the sorting and grouping in the xamGrid control.