Version

xamSyntaxEditor - Testable User Actions and Elements

Topic Overview

Purpose

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

In this topic

This topic contains the following sections:

xamSyntaxEditor User Actions

Testable user action chart

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

User action Method

Pressing the keyboard’s Backspace key, any number of times, erasing the currently selected text, starting at the cursor and extending one character towards begin for each time you press the Backspace key.

  1. Selecting a text or a series of texts, then pressing the Delete key and typing some text.

  2. Pressing the Delete key any number of times without typing.

  1. H olding down the Shift key and Clicking on another location within the text.

  2. Holding the Shift while using the arrow keys to move away from the current caret location.

  3. Moving the mouse down and dragging it over a range of characters.

Typing or Pasting in any series of characters in xamSyntaxEditor’s editor.

Clicking on the x amSyntaxEditor control’s view.

Moving the caret position either via the mouse or arrow keys.

  1. Dragging an existing splitter from one position to another.

  2. Dragging an existing splitter off the syntax editor’s view towards the left or top.

  3. Dragging a Mini-splitter to a position creating a new one.

Pressing down the keyboard’s Insert key.

Return an array object with the coordinates of the offset location.

Return an integer value of the character location.

For recording action perform keyboard commands such as: Ctrl+``C(Copy), Ctrl+X(Cut) or Ctrl+V(Paste).

For replaying action execute SyntaxEditor command such as: seydCopy, seydCut or seydPaste.

xamSyntaxEditor Testable Elements

Testable elements summary chart

The following table lists the elements in the control that you can test and retrieve information about them.

Testable elements Test deliverable Member type Test object member Accessibility

Visible Line

Verifiable table content for visible line.

Verifiable table content

script.png

Selected text

Copying the text to the clipboard.

Command

seydCopy

spy.png
script.png

Selected text

Cutting the text to the clipboard.

Command

seydCut

spy.png
script.png

Selected text

Pasting the text from the clipboard to the xamSyntaxEditor.

Command

seydPaste

spy.png
script.png

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

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

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

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

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

This topic summarizes the xamSyntaxEditor ’s limitations.