Appendix
Find and replace step definitions
In Visual Studio code, you can use the Find and Replace function to locate the step definitions you want to replace with the new syntax.
Sometimes the step definition is composed of several parts. So, you need to search only for the part to replace.
Or you can use regular expressions to identify the step definitions and then modify them manually in the script.
Step definitions changes for version 2.7.0
With Sage X3 Automated Test Platform 2.7.0, Sage modified the following step definitions. You need to edit your tests to use the new syntax.
Text field action
Previous syntax | New syntax from version 2.7.0 |
the user clicks on (.*) button of the selected text field |
the user clicks the "(.*)" button of the selected text field |
the user clicks on (.*) button on the "(.*)" text field |
the user clicks the "(.*)" button on the "(.*)" text field |
the user clicks on "(.*)" option of the actions panel |
the user clicks the "(.*)" option of the actions panel |
Data table cell action
Previous syntax | New syntax from version 2.7.0 |
the user clicks on "(.*)" action button of the selected cell |
the user clicks the "(.*)" action button of the selected cell |
the user clicks on "(.*)" option of the actions panel for the selected cell |
the user clicks the "(.*)" option of the actions panel for the selected cell |
Picking list (expand and collapse)
Previous syntax | New syntax from version 2.7.0 |
The user clicks on the Expand all option of the picking list toolbar |
the user clicks the "(.*)" button in the left top bar of the selected picking list
|
The user clicks on the Collapse all option of the picking list toolbar |
Hierarchical left list (expand and collapse)
Previous syntax | New syntax from version 2.7.0 |
the user clicks on the Expand all option of the hierarchical list toolbar |
the user clicks the "(.*)" button in the left top bar of the selected data table
|
The user clicks on the Collapse all option of the hierarchical list toolbar |
Data table top bar button interaction
Previous syntax | New syntax from version 2.7.0 |
the user clicks the "(.*)" button at the top of the table |
the user clicks the "(.*)"button in the left top bar of the selected data table |
Data table top bar action interaction
Previous syntax | New syntax from version 2.7.0 |
the user clicks the "(.*)" action button of the selected data table |
the user clicks the "(.*)" action in the left top bar of the selected data table |
Decommissioned step definitions
Sage decommissioned the following step definitions:
the user clicks on next button on toolbox of the selected data table
the user clicks on previous button on toolbox of the selected data table
Step definitions changes for version 3.0.0
With Sage X3 Automated Test Platform 3.0.0, Sage modified the following step definitions. You need to edit your tests to use the new syntax.
Print action of the right panel
The argument prior to “tool” correspond to the name of the action targeted in its required language ( e.g. “Print” in en-US).
Previous syntax | New syntax from version 3.0.0 |
the user clicks on the print tool on the right panel and selects the "(.*)" option |
the user clicks the "(.*)" tool on the right panel and selects the "(.*)" option |
Export action of the right panel
The argument prior to “tool” correspond to the name of the action targeted in its required language ( e.g. “Export” in en-Us).
Previous syntax | New syntax from version 3.0.0 |
the user clicks on the export tool on the right panel and selects the "(.*)" option |
the user clicks the "(.*)" tool on the right panel and selects the "(.*)" option |