Version

xamGantt - Testable User Actions and Elements

Topic Overview

Purpose

This topic provides information about the xamGantt™ control’s testable user actions and elements.

In this topic

This topic contains the following sections:

Preview

xamGantt views

The xamGantt control displays the project tasks in two views (Grid and Chart).

xamGantt User Actions and Elements 1.png

xamGantt Testable User Actions

Testable user action chart

The following table summarizes the control’s user actions, and maps to the recordable methods that emulate them.

xamGantt user actions.

Action view groups User action Method

Chart view

Moving the supplied task to a new start date.

Resizing the supplied task to a new end date.

Setting the supplied task’s percent complete.

Setting the supplied task’s date as a deadline.

Grid view

Collapsing the specified cell’s task.

Expanding the specified cell’s task.

Miscellaneous view

Deleting the selected tasks.

Splitting the view of a xamGantt between Grid and Timeline, or setting the location of the splitter, or both.

Setting the property value of the supplied task.

xamGantt user actions inherited from xamGrid .

User action type User action Method

Navigating and Selecting

Activating a xamGantt cell.

Selecting a xamGantt selectable item (cell, column or row).

Adding a xamGantt selectable item into a selection.

Changing existing xamGantt selectable item selection.

Removing items from an existing selection.

Clearing the task selection made by the user.

Editing

Copying the selected cell(s) to the clipboard.

Pasting cell(s) value from the clipboard into the xamGantt .

Allows entering edit mode in the selected cell.

Setting a new value in a xamGantt cell.

Exiting of the row or cell edit mode.

Display

Hiding the supplied column.

Moving the supplied column to the specified index relative to its parent.

Displaying the column from hidden state.

Resizing the supplied column or array of columns to a specific size. If you do not specify a size, the column will take the autosize mode by default.

Sorting and Grouping

Setting a column to a Sorting mode.

xamGantt Testable Elements

Testable elements summary chart

The following table lists the elements in the Grid side of the xamGantt control that you can test and retrieve information about them along with the properties and methods managing the retrieval operations.

Legend:

spy.png – Identification property (Visible in object spy)

checkpoint.png – Checkpoint property (Visible with checkpoints)

script.png – Accessible in script

Tested elements Test deliverable Member type Test object member Accessibility

Cell

The active cell path.

Property

ActiveCell

spy.png checkpoint.png

Cell

The value of the cell.

Method

GetCellData

script.png

Data

All cell data in the cross-section of visible rows and columns in the active area.

Verifiable table content

checkpoint.png

Columns

String identifier for all column of the ActiveArea, including hidden columns.

Property

AllColumns

spy.png checkpoint.png script.png

Columns

Integer value representing the ActiveArea’s count of all Columns, including hidden columns.

Property

AllColumnCount

spy.png checkpoint.png script.png

Column

The delimited list of the visible columns’ identifiers in the active area.

Property

Columns

spy.png checkpoint.png script.png

Column

The number of visible columns in the active area.

Property

ColumnCount

spy.png checkpoint.png script.png

Row

The number of visible rows in the active area.

Property

RowCount

spy.png checkpoint.png script.png

Row

The active row path.

Property

ActiveRow

spy.png checkpoint.png

Task

Returning the property value of the supplied task.

Method

GetTaskProperty

script.png

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic provides information about the xamGantt control’s testable user recordable methods.

This topic provides information about the xamGantt control’s testable user replay-only methods.