Version

xamDataPresenter - Testable User Actions and Elements

Topic Overview

Purpose

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

xamDataPresenter Testable User Actions

Testable user actions chart

The table below lists the testable user actions of the control and maps them to recordable methods that emulate them.

User action Method

Activating a xamDataPresenter record

ActivateRecord

Activating a cell

ActivateCell

Expanding a record

ExpandRecord

Collapsing a record

CollapseRecord

Editing of a cell

SetCellData

Typing a new value in a cell editor

SetInvalidDataCell

Setting a comparison operator when filtering data

SetFilterCellCompOperator

Filterign data through filter icons

SelectFilter

Selecting a xamDataPresenter item – cell, field, or record

Select

Adding one or more items of a particular type to the existing selection

SelectionAdded

Removing one or more items of a particular type from the existing selection.

SelectionRemoved

Changing the existing selection

SelectionChanged

Sorting the data by a specified field

SortField

Grouping the data by a specified field

GroupByField

Ungrouping data

UnGroupField

Opening the summary drop-down menu

OpenSummaryDropDown

Closing the summary drop-down menu

CloseSummaryDropDown

Opening the Custom Filter Selectino dialog window to add more filters and operators

OpenCustomFilterDialog

Clearing the filters content

ClearRecordFilters

xamDataPresenter Testable Elements

Testable elements summary chart

The following table lists the elements in the control that you can test, the information you can retrieve about them, and the properties and methods that manage the retrieve operations.

Legend:

spy.png – Identification property

checkpoint.png – Checkpoint property

script.png – Accessible in script

Tested element Test deliverable Member type Test object member Accessibility

Cell

The active cell path

property

activecell

spy.png checkpoint.png

The value of the cell

method

GetCellData

script.png

Field

The active field path

property

activefield

spy.png checkpoint.png

The number of visible fields

property

fieldcount

spy.png checkpoint.png script.png

The list with fields' headers

property

fields

spy.png checkpoint.png script.png

Record

The active record path

property

activerecord

spy.png checkpoint.png

The visible records count

property

recordcount

spy.png checkpoint.png script.png

Content

A list with currently selected items paths

property

selectedcontent

spy.png checkpoint.png

The type of the selected item

property

selectedcontenttype

spy.png checkpoint.png

The content of the visible records and fields cells in the active area

verifiable table content

checkpoint.png

Summary

The content of all summaries for a field

method

GetSummaryText

checkpoint.png

The summary type for a field

method

GetSummaryType

checkpoint.png

The summary value for a field

method

GetSummaryValue

checkpoint.png

The table below lists other topics you may find useful.

Topic Purpose

This topic provides reference information about the recordable user methods for testing the xamDataPresenter™ controls.

This topic provides reference information about the replay-only user methods for testing the xamDataPresenter™ controls.

This topic provides reference information about the inspectable test object properties of the xamDataPresenter™ controls.

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