Editing Test Cases¶
On this page you can create or update Test Cases.
Editor buttons¶
The source code editor has the following buttons to help with editing:
Search:
After clicking the Search button, enter a string in the search box and type Enter. The editor will highlight all instances of that string in the Source Code. The search is case sensitive. Case insensitive (and other more complicated searches) can be done using regular expressions, e.g. /ae/i will perform a case insensitive search for the text ‘ae’, matching ‘ae’, ‘AE’, ‘Ae’, ‘aE’.
Find Previous
Move to the previous result of searching (if any)
Find Next
Move to the next result of searching (if any)
Replace
After clicking the Replace button, enter a string in the Replace box and type Enter. The editor will highlight all instances of that string in the Source Code. You can choose to Replace one-by-one, all or none. The search is case sensitive. Case insensitive (and other more complicated searches) can be done using regular expressions, e.g. /ae/i will perform a case insensitive search for the text ‘ae’, matching ‘ae’, ‘AE’, ‘Ae’, ‘aE’.
Undo
This will undo the most recent, unsaved, change (if any).
Redo
This will undo the most recently undone edit (if any).
Dedent
The start of the current source code line will be moved to the left.
Indent
The start of the current source code line will be moved to the right.
Auto-indent
All source code will be automatically indented.
Comment/Uncomment
The selected line(s) will be commented out, or if already commented out it will be un-commented.
Validate
Validate the Test Case content.
Keyboard shortcuts¶
The source code editor has keyboard shortcuts to assist with search and replace. The keyboard shortcuts are active when the cursor is inside the source code text area.
Ctrl-F / Cmd-F
Start searching
Ctrl-G / Cmd-G
Find next
Shift-Ctrl-G / Shift-Cmd-G
Find previous
Shift-Ctrl-F / Cmd-Option-F
Replace
Shift-Ctrl-R / Shift-Cmd-Option-F
Replace all
(Use the tab key to move between the Yes/No/All/Stop options)
Alt-G
Jump to line