Skip to main content

Creating a new scenario test case

Archived

1 Tarea

10 minutos

Visible para: All users Applies to: Pega Platform 8.6
Principiante
DevOps
Inglés
Este contenido está archivado y ya no se actualiza. El progreso no está calculado. Las instancias de Pega Cloud están deshabilitadas y las insignias ya no se conceden.

Escenario

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.

Role User name Password
Application Developer tester@gogoroad pega123!
Nota: 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.

Recorrido del Reto

Tareas detalladas

1 Record a new scenario test case

  1. In the header of Dev Studio, click Launch Portal > User Portal to open a new browser tab or window with the user view of the GoGoRoad application.
  2. 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. 
    Scenario testing recorder
  3. In the Scenario tests pane, click Create test case > Case type > Assistant Request to begin recording your actions on a case type.

    Screenshot showing how to start recording a test
  4. In the Create view, in the How can we help you today? drop-down, select My vehicle has a flat tire.

    how_can_we_help_you_today
     
    Nota: 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. Click Continue to advance to the Enter customer information form.

    identify-issue-flat-tire-continue
     
  6. In the Enter customer information form, in the Account ID drop-down list, select [email protected].
  7. Click Continue.

  8. Complete all fields on the Identify location and Identify vehicle forms.
  9. In the Scenario tests pane, click Stop and save test case to stop recording your actions. 
    Actions taken
     
  10. In the New test case pane, enter or verify 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
  11. Click Save to save the new scenario test case.

    save-scenario-test
     
  12. In the lower-left corner, click the Operator icon > Log off to log out of the User Portal and return to Dev Studio.


Disponible en la siguiente misión:

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