Scenario EditorFrom Sahi Pro V5.1, a web based UI for creating scenarios is available. It is a user-friendly, easy and interactive user interface for running and developing Sahi scripts which are in .xls, .xlsx or .s.csv format. It uses most of the shortcuts available in Microsoft Excel.
Sahi understands csv files with
.s.csvextension as a scenario file (eg.
warning This application is not supported on IE versions lower than IE10.
- Open the Editor window from Sahi Dashboard.
- Search for the scenario file to be edited in navigation panel. Click on the file name to open the scenario editor.
|1||Insert a new testcase.|
|2||Load Sahi Library.|
|3||Show function details for the selected cell.|
|4||Allows to import multiple functions at once.|
|5||Load Sample excel file.|
|6||Load Sample scenario file.|
If the path or name of the file specified in loadSahi is wrong, it gets shown in red. If the user adds a wrong function, i.e. a function that is not defined in the included files, or if he makes a mistake with the function name, the name appears in red. Only if the function is defined in the file included through 'loadSahi', does it appear in black. If the number of arguments added in the UI for a function is more than the number of arguments in the function definition, the extra arguments are shown in red.
|CTRL + A||Select all contents of the worksheet.|
|CTRL + HOME||Move to column header cell.|
|CTRL + C||Copies the selected cells.|
|CTRL + X||Cuts the selected cells.|
|CTRL + V||Pastes in the selected cell.|
|CTRL + Y||Repeats the last command or action, if possible.|
|CTRL + Z||Uses the Undo command to reverse the last command or to delete the last entry you typed.|
|CTRL + /||Comment/ Un-comment the selected row/s.|
|CTRL + DELETE||Deletes the selected row/s.|