Test Case Designer
Codeless Editor used to automate your Test Cases
If the Window is not already open you can find it in Extension --> TestResults.io --> Test Case Designer
At the top of the Window you can select which Test case you want to edit, and you have access to the following actions:
Adds a new step to the selected Test case
Adds one of our predefined functions (for example report "pass" or "fail" of a step)
Generates the code and saves it to the Test case. Use the
Icon in the top right corner to look at the generated code.
Reload the Test case in the state it was last saved.
Refresh the Screens and Elements if you have changed something. You will also get a notification in case your need to refresh
If you click on one of the Steps you can set the Input and Expected Results. These will also be displayed in the test report if you later run the Test case in the portal. Note if you add an Expected Result it is also required to have at least one reporting of a "Pass Step", use the predefined functions icon
to add this.
To add new interactions with Elements simply drag and drop the Element from the Screen Explorer into the Test Case Designer. Depending on the type of the Element the possible interactions will change accordingly. For example on a Button you can click or double click, with a Textbox you can enter or verify text.
The generated C# code can be viewed by using the
Icon in the top right of the Test Case Designer
After you defined the interactions, save the Testcase and let it run. By right clicking on a Step you can choose to run the Step alone or with all following Steps.