Best Practices
Structuring Feature files.
Problem With multiple developers writing tests on the same project, inconsistent Feature File structure can lead to overlaps in test coverage and reduce test readability. Solution Adopting a modular approach Many common computer interactions are ...
Make Cycle Features easier for others to understand.
Problem Even well written Cycle Features can sometimes seem unclear to a new user. Solution By including comments at the beginning of your Feature and within Scenarios, you can lay out all pertinent details for a reader without needing to use Cycle ...
Stay consistent in naming Cycle files, images and variables.
Problem Teams that use differing names for core elements often encounter difficulties when reading other developer's Cycle tests. Solution Sticking to the following naming conventions will help add clarity and greater readability to Cycle projects: ...
Getting more reliable results using Image Matching in Cycle.
Problem While image matching is a powerful capability, it is not always the best tool for the job -- it can tie up a lot of computing resources, and sometimes preliminary work is needed to capture screenshots that will match reliably. Solution Image ...
Aligning terminal Steps with Operator behavior
Problem My terminal-based Cycle Steps don't always perfectly coincide with the actions a human operator performs on their device. Solution There are 3 terminal Steps that can provide a clear picture of the business process and end user operation. ...
Run Cycle as an Administrator
Problem Some steps in Cycle, mainly native app interaction steps such as clicking or typing, may not reliably execute unless Cycle is being run as an administrator. Solution It is recommended that Cycle is always run as an administrator. NOTE: You ...
Using Cycle's Data Extract Tool
The Data Extract tool allows you to easily create CSV files from an existing database. The Extract Data window can be accessed via the "Tools > Extract Data..." menu item in Cycle. It can also be accessed from the Inspector panel with the ...
Using ESC or ESCAPE, CONTROL or CTRL in your Cycle Steps
Many Cycle steps involve key presses, often times to employ hotkeys or key combinations. When using these should I use the common abbreviation (printed on the key) for a key "ESC", "CTRL" or the full word "ESCAPE", "CONTROL"? As of Cycle version ...