We're sorry but this site requires JavaScript.
Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
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.
Selecting a text or a series of texts, then pressing the Delete
key and typing some text.
Pressing the Delete
key any number of times without typing.
H olding down the Shift
key and Clicking on another location within the text.
Holding the Shift
while using the arrow keys to move away from the current caret location.
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.
Dragging an existing splitter from one position to another.
Dragging an existing splitter off the syntax editor’s view towards the left or top.
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
Verifiable table content for visible line.
Copying the text to the clipboard.
Cutting the text to the clipboard.
Pasting the text from the clipboard to the xamSyntaxEditor.
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.