Question

Queries on adding Scenario Test Cases in PDM Pipeline

Pega Platform : 8.1.2

I am trying to run my scenario test cases using the PDM Pipeline. Does anyone has any experience in using the Standalone Option while adding scenario test cases?

Reference : https://community.pega.com/knowledgebase/articles/devops-release-pipeline-overview/using-deployment-manager-43x#runscenario

Correct Answer
October 18, 2019 - 10:12am

Updated help on this will be posted soon as part of the 4.6 release, but in the meantime here is a preview on that content. It should provide all the necessary steps for you.

-----------------------------------------------------------------------------

To run a Pega scenario tests step, do the following actions. For more information about scenario tests, see Creating a scenario test.

Deployment Manager supports Selenium 3.141.59.

  1. Do one of the following actions:
    • Click a manually added task, click the More icon, and then click either Add task above or Add task below.
    • Click Add task in the stage.
  2. From the Task list, select Run Pega scenario tests.
  3. In the User name field, enter the user name for the Pega Platform instance on which you are running scenario tests. For the Run Pega scenario tests task, if you are using a separate product rule for a test application, the user name that you provide should belong to the access group that is associated with the test application. 
  4. In the Password field, enter the Pega Platform password.
  5. From the Test Service Provider field, select the browser that you are using to run the scenario tests in the pipeline.
  6. Do one of the following actions:
    • If you selected CrossBrowserTesting, BrowserStack, or SauceLabs, go to step 7.
    • If you selected Standalone, go to step 8.
  7. If you selected CrossBrowserTesting, BrowserStack, or SauceLabs:
    1. In the Provider auth name field, enter the auth name that you you use to log in to the test service provider.
    2. In the Provider auth key field, enter the key for the test service provider.
    3. Go to step 9.
  8. If you selected Standalone, in the Provider URL field, enter the URL of the Selenium Standalone Server by using one of the following:
    1. Hub hostname and port: Use the format Hubhostname:port.
    2. IP address: Enclose the IP address in double quotation marks.
  9. In the Browser field, enter the browser that you are using to record scenario tests.
  10. In the Browserversion field, enter the browser version.
  11. In the Platform field, enter the development platform that you are using to record tests.
  12. In the Screen resolution field, enter the resolution at which are recording scenario tests.
  13. Click Submit.

 

 

Comments

Keep up to date on this post and subscribe to comments

October 18, 2019 - 10:12am

Updated help on this will be posted soon as part of the 4.6 release, but in the meantime here is a preview on that content. It should provide all the necessary steps for you.

-----------------------------------------------------------------------------

To run a Pega scenario tests step, do the following actions. For more information about scenario tests, see Creating a scenario test.

Deployment Manager supports Selenium 3.141.59.

  1. Do one of the following actions:
    • Click a manually added task, click the More icon, and then click either Add task above or Add task below.
    • Click Add task in the stage.
  2. From the Task list, select Run Pega scenario tests.
  3. In the User name field, enter the user name for the Pega Platform instance on which you are running scenario tests. For the Run Pega scenario tests task, if you are using a separate product rule for a test application, the user name that you provide should belong to the access group that is associated with the test application. 
  4. In the Password field, enter the Pega Platform password.
  5. From the Test Service Provider field, select the browser that you are using to run the scenario tests in the pipeline.
  6. Do one of the following actions:
    • If you selected CrossBrowserTesting, BrowserStack, or SauceLabs, go to step 7.
    • If you selected Standalone, go to step 8.
  7. If you selected CrossBrowserTesting, BrowserStack, or SauceLabs:
    1. In the Provider auth name field, enter the auth name that you you use to log in to the test service provider.
    2. In the Provider auth key field, enter the key for the test service provider.
    3. Go to step 9.
  8. If you selected Standalone, in the Provider URL field, enter the URL of the Selenium Standalone Server by using one of the following:
    1. Hub hostname and port: Use the format Hubhostname:port.
    2. IP address: Enclose the IP address in double quotation marks.
  9. In the Browser field, enter the browser that you are using to record scenario tests.
  10. In the Browserversion field, enter the browser version.
  11. In the Platform field, enter the development platform that you are using to record tests.
  12. In the Screen resolution field, enter the resolution at which are recording scenario tests.
  13. Click Submit.