Version

xamNetworkNode - Testable User Actions and Elements

Topic Overview

Purpose

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

In this topic

This topic contains the following sections:

xamNetworkNode Testable User Actions

Testable user action chart

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

User action Method

Clicking on a node.

Clearing the selection such that no node is selected.

Clicking on the node’s expansion indicator (minus sign).

Clicking on the node’s expansion indicator (plus sign).

Retrieving all incoming and outgoing nodes connections for a specified node.

Selecting a single node

Pressing down on the keyboard’s ctrl or shift key, and clicking the nodes to select them in multiple or extended selection mode

xamNetworkNode 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, along with the properties and methods that manage the retrieval operations.

Legend:

spy.png
– Identification property (Visible in object spy)
checkpoint.png
– Checkpoint property (Visible with checkpoints)
script.png
– Accessible in script
Testable elements Test deliverable Member type Test object member Accessibility

Active node

Activates a single node of the xamNetworkNode control.

Property

ActiveNodeId

spy.png
checkpoint.png
script.png

Visible Nodes

Returns the count of all the xamNetworkNode control’s nodes.

Property

NodesCount

spy.png
checkpoint.png
script.png

Selected nodes

Selects a single node or an array of nodes obtained from the xamNetworkNode control.

Property

SelectedNodes

spy.png
checkpoint.png
script.png

Returns the count of all the xamNetworkNode control’s selected nodes.

Property

SelectedNodesCount

script.png

Returns the indices of all the visible selected nodes of the xamNetworkNode control.

Property

SelectedNodeIndices

spy.png
checkpoint.png
script.png

Connected nodes

Returns a string of all incoming and outgoing node identifiers of the xamNetworkNode control’s specified node(s).

Method

GetConnectedNodes

script.png

Returns the count of all the xamNetworkNode control’s visible node connections.

Property

ConnectionsCount

spy.png
checkpoint.png
script.png

Data

Verifiable table content of all nodes:

  • NodeData

  • NodeIndex

  • NodeVisibleIndex

  • NodeVisibility

  • IncomingConnectionsCount

  • OutgoingConnectionsCount

  • ConnectedNodesCount

Verifiable table content

script.png

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

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

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

This topic provides reference information about the XamNetworkNode control’s test object properties.

This topic provides reference information about the common enumerations used in testing the xamNetworkNode control.