Neuen Szenariotest-Case erstellen
2 Aufgaben
10 Min.
Szenario
GoGoRoad möchte einen Standard-Szenariotest erstellen, um Tests für den Case-Typ „Assistance-Request“ zu automatisieren. Erstellen Sie einen automatisierten Test für den „Submit request“-Prozess, um sicherzustellen, dass die Benutzeroberfläche und der End-to-End-Prozessablauf korrekt funktionieren.
In der folgenden Tabelle finden Sie die Anmeldedaten, die Sie zur Durchführung der Challenge benötigen.
Rolle | Benutzername | Kennwort |
---|---|---|
Application Developer | author@gogoroad | pega123! |
Challenge-Schritte
Genaue Übungsschritte
1 Record a new scenario test case
- In the Dev Studio header, click Launch Portal > Case Worker to open new browser with the user view of the GoGoRoad application.
- Click the Runtime toolbar icon > Automation Recorder to open the Scenario tests pane.
-
In the Scenario tests pane, click to begin recording your actions.
-
In the Case Worker navigation pane, click New > Assistance Request.
Hinweis: 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. - In the Create view, in the Service type drop-down, select Flat tire.
- Click
- On the Enter customer information form, from the Account ID drop-down, select [email protected].
- Click .
- Complete all fields on the Identify location and Identify vehicle forms.
- In the Scenario tests pane, click to stop recording your actions.
- In the Scenario tests 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 - Click
2 Confirm your work
- In the Dev Studio header, click Configure > Application > Quality > Automated testing > Scenario testing > Test cases to view the list of test cases for the application.
- On the Scenario testing view, to the left of the Initial Customer Request test case, select the check box.
- Click Hinweis: 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.
In der folgenden Mission verfügbar:
Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?