Creating a new scenario test case
GoGoRoad wants to create a standard scenario test to automate testing for the Assistance Request case type. Create an automated test for the Submit request process to ensure that the user interface and end-to-end process flow function correctly.
The following table provides the credentials you need to complete the challenge.
Note: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.
1 Record a new scenario test case
- In the header of Dev Studio, click Launch Portal > User Portal to open a new browser with the user view of the GoGoRoad application.
- In the lower right of the screen, click the Runtime toolbar icon, and then click the Automation Recorder icon to open the Scenario tests pane.
In the Scenario tests pane, click to begin recording your actions on a case type.
In the Create view, in the How can we help you today? drop-down, select My vehicle has a flat tire.
Note: An orange border is displayed around all objects you interact with to indicate that the Automation Recorder tool is recording the actions you take in this scenario. In the contextual pane, the actions you perform are recorded in the order in which you perform them.
Click Continue to advance to the Enter customer information form.
- In the Enter customer information form, in the Account ID drop-down list, select [email protected].
- Complete all fields on the Identify location and Identify vehicle forms.
- In the Scenario tests pane, click to stop recording your actions.
- In the New test case pane, complete the following information:
Field or drop-down Value Name Initial Customer Request Description Initial Customer Request Apply to GoGo-GoGoRoad-Work-AssistanceRequest Add to ruleset GoGoRoadTC:01-01-01
Clickto save the new scenario test case.
- In the lower-right corner, click the Operator icon > Log off to log out of the User Portal and return to Dev Studio.
2 Confirm your work
- In the header of Dev Studio, click Configure > Application > Quality > Automated testing > Scenario testing > Test cases to view the list of test cases for the application.
- In the Scenario testing view, select the Initial Customer Request checkbox.
- Click Note: A dialog box displays a preview of the scenario test progress actions as recorded. The dialog box automatically closes when the test is complete.
to execute the test.
- In the Result column, verify that the result is Passed to signify the test case is successful.