Skip to main content

Neuen Szenariotest-Case erstellen

2 Aufgaben

10 Min.

Visible to: All users
Anfänger Pega Platform 8.4 DevOps Deutsch

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!

Sie müssen zum Abschließen dieser Challenge Ihre eigene Pega-Instanz starten.

Die Initialisierung kann bis zu 5 Minuten dauern, bitte haben Sie Geduld.

Challenge-Schritte

Genaue Übungsschritte

1 Record a new scenario test case

  1. In the Dev Studio header, click Launch Portal > Case Worker to open new browser with the user view of the GoGoRoad application.
  2. Click the Runtime toolbar icon > Automation Recorder to open the Scenario tests pane.  
    scenario_recorder
  3. In the Scenario tests pane, click Create test case > Portal to begin recording your actions.

    Screenshot showing how to start the scenario recorder.
  4. In the Case Worker navigation pane, click New > Assistance Request.

    Screenshot to show how to start a new case with a recording.
    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.
  5. In the Create view, in the Service type drop-down, select Flat tire.
  6. Click Done to advance to the Enter customer information form.
    new-create-assistance-request
  7. On the Enter customer information form, from the Account ID drop-down, select [email protected].
    Screenshot showing selecting of customer.
  8. Click Continue.
  9. Complete all fields on the Identify location and Identify vehicle forms.
  10. In the Scenario tests pane, click Stop and save test case to stop recording your actions.
    Screenshot showing actions taken on the portal being recorded.
  11. 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
  12. Click Save to save the new scenario test case.
    Screenshot displaying the criteria for saving a scenario recording.

 

2 Confirm your work

  1. 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. 
  2. On the Scenario testing view, to the left of the Initial Customer Request test case, select the check box.
  3. Click Run selected to execute the test.
    Screenshot showing how to run scenario test.
    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. 
    Screenshot showing the scenario test being executed
  4. In the Result column, verify that the result is Passed to signify the test case is successful.
    Screenshot showing successful scenario test.


In der folgenden Mission verfügbar:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Fanden Sie diesen Inhalt hilfreich?

Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice