Cycle 2.25 Deprecated Steps

Cycle 2.25 Deprecated Steps

We have deprecated some existing steps and provided their replacements in Cycle versions 2.25+. 


The steps that are impacted are steps that work against result sets for both moca and sql. The deprecated steps are: 

  • Given I assign row <ROW_NUMBER> column "<COLUMN_NAME>" to variable "<VARIABLE_NAME>"    

  • Given I verify "<VALUE>" in row <ROW_NUMBER> column "<COLUMN_NAME>" in result set       

  • Given I verify <NUMBER> rows in result set


The new replacement steps are:

  • I verify "<VALUE>" in row <ROW_NUMBER> column "<COLUMN_NAME>" in SQL result set

  • I assign row <ROW_NUMBER> column "<COLUMN_NAME>" from SQL result set to variable "<VARIABLE_NAME>"

  • I verify <NUMBER> rows in SQL result set

  • I verify "<VALUE>" in row <ROW_NUMBER> column "<COLUMN_NAME>" in MOCA result set

  • I assign row <ROW_NUMBER> column "<COLUMN_NAME>" from MOCA result set to variable "<VARIABLE_NAME>"

  • I verify <NUMBER> rows in MOCA result set

Update Steps in VS Code

To easily update these steps, you can use the VS Code Cycle Testing extension. Open your project in VS Code, and navigate to the Problems tab in the console. 



The Feature file and affected line can be selected to open the file and navigate to the appropriate line. Each step can easily be updated from the editor. 




Alternative Approach 

If you are unable to use the VS Code extension, you can run the following scripts in Powershell:

$results = Get-ChildItem "C:\<PATH>\<TO>\<DIRECTORY>" -Recurse -File |

    Where-Object { $_.FullName -notmatch "\\Output\\" } |

    Select-String -Pattern "I assign row"

$results          # show matches

$results.Count    # show number of matches


$results = Get-ChildItem "C:\<PATH>\<TO>\<DIRECTORY>" -Recurse -File |

    Where-Object { $_.FullName -notmatch "\\Output\\" } |

    Select-String -Pattern "in result set"

$results          # show matches

$results.Count    # show number of matches



    • Related Articles

    • Cycle 2.22 Deprecated Steps

      With the introduction of the WebDriver step plugin in Cycle 2.22, the following steps have been officially deprecated: Deprecated Step Replacement Step I open the "<BROWSER_NAME>" web browser I open "<BROWSER_NAME>" web browser I close the web ...
    • Cycle 2.23 Deprecated Steps

      The Cycle Labs team is rolling out improvements to our steps using our new Step Plugin Architecture. As a result, we will be removing support for some long time deprecated steps. The deprecated steps listed below will be removed from the Cycle ...
    • Cycle Release Notes

      Cycle 2.25.1 / 2025-12-18 New Features and Enhancements Project and File Management Moved from Engine to Desktop IDE We have addressed some technical debt by moving project and file management from the Engine to the Desktop IDE. This includes: Scala ...
    • Quick Start: MOCA Network Checker

      Summary We have created a small network utility to help diagnose MOCA connectivity issues in customer environments. It performs a battery of diagnostic checks and creates output that we can review after a user provides it to us. Details on how to get ...
    • BY WMS Library Release Notes

      BY WMS Library Release v 3.4 / 2024-07-01 Here’s what’s new in Version 3.4 of the BY WMS Library Cycle Version Dependency: 2.15 or newer Email help@cyclelabs.io for access to the BY WMS Library download Support for 2021 The WMS Library test cases ...