Skip to main content

新しいシナリオテストケースの作成

2 タスク

10 分

Visible to: All users
初級 Pega Platform 8.4 DevOps 日本語

シナリオ

GoGoRoadでは、標準のシナリオテストを作成して、Assistance Requestケースタイプのテストを自動化する必要があります。 Submit requestプロセス用に自動化されたテストを作成し、ユーザー インターフェイスとエンドツーエンドのプロセスフローが正しく機能することを確認しましょう。

以下の表は、チャレンジを完了するために必要なログイン情報をまとめたものです。

ロール ユーザー名 パスワード
アプリケーションデベロッパー author@gogoroad pega123!

このチャレンジを完了するには、Pegaインスタンスを起動する必要があります。

起動には5分ほどかかることがありますので、しばらくお待ちください。

チャレンジ ウォークスルー

詳細なタスク

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.
    補足: 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.
    補足: 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.


このモジュールは、下記のミッションにも含まれています。

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

このコンテンツは役に立ちましたか?

改善できるところはありますか?

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