Demo
GUIDE

Completion rules and checklists

3 MIN READ

Component completion rules

These states describe how TestZeus knows an interaction completed. They do not require a Then step unless the state is an explicit testcase assertion.

Component Complete only when
Text field The intended value is present.
Textarea All required lines are present in order.
Rich text Required text and formatting are present.
Picklist / combobox The exact selected option is committed.
Multi-select The complete selected set matches.
Checkbox Checked state matches the requested boolean state.
Radio group The intended option alone is selected.
Switch On/Off state matches the request.
Date / time Stored date, time, and timezone match.
Lookup The selected record is committed, not merely listed.
Button / link The expected transition or business action occurred.
Modal The intended modal state and resulting page state are correct.
Table row The action occurred in the uniquely identified row.
File upload Filename and upload status are visible.
File download The file is available to save as an output; content and metadata match only when asserted by the testcase.
Slider Numeric value matches.
Drag and drop Source no longer contains the item and destination does.
Chart hover Tooltip belongs to the requested chart, series, and point.
Mobile gesture The intended screen or component state changed.

Forbidden wording and its replacement

Do not write Write instead
Fill the form Name every field and its value.
Select the dropdown Name the picklist and exact option.
Click the checkbox Ensure the named checkbox is checked or unchecked.
Toggle notifications Set the named switch to On or Off.
Choose the radio Select the named option in the named radio group.
Fill the description Name whether it is a textarea or rich-text editor, then state the exact content.
Pick a date Name the date field and exact or calculated date.
Click the icon Name its purpose and nearby label.
Click the first row Identify the row by a business key.
Select all items Define the collection, boundaries, and expected count.
Loop through every row Use a one-line For each action or a START LOOP / END LOOP block with a stop condition.
Keep trying until it works State the repeated statement, maximum attempts, and achieved or no-longer-achieved condition.
If needed, do the next steps State the observable condition and use a one-line IF/ELSE or START IF / END IF block.
Wait for the page Name the observable completion state.
Dismiss any popup Name the permitted popup and required action.
Verify success State the exact field, status, record, message, or page state.

Final author checklist

  • Every control has a visible name.
  • Every ambiguous control has a component type.
  • Every repeated control has a scope.
  • Every selection uses an exact option.
  • Every checkbox, radio, and switch states the desired final state.
  • Every dependent field follows its controller.
  • Every lookup confirms the committed record.
  • Every rich-text interaction separates content from formatting.
  • Every table action identifies a unique row.
  • Every overlay and context boundary is named.
  • Every loop defines its collection, order, stop rule, and final count.
  • Every repeated statement has a maximum attempt count or another finite boundary.
  • Every conditional names an observable condition and clearly bounds its IF, ELSE, and END IF branches.
  • Then appears only for assertions that determine the testcase result.
  • Operational readiness uses a wait or the next dependent action, not a mechanical Then.
  • Cross-testcase files are saved as [$.output.<name>] and consumed as [$.input.<name>].
  • Every secret and environment value is externalised.