Question
Evonsys
IN
Last activity: 29 Mar 2022 5:58 EDT
selenium integration with Pega deployment manager
Hello,
Environment : Pega 8.3, Deployment manager 4.7, Jenkins 2.222.4
I'm currently working on automating deployment and have testing done as part of deployment.
I'm confused on configuring environment, could you please suggest what is best approach to integrate.
Approach 1)setup to integrate testing with deployment manager. I chose to integrate jenkins and have jenkins run the job .
Approach 2) I see that we can also use pega unit case and provide standalone server details for details. Thanks,
Anil
-
Likes (1)
Smriti Singh MALLESAPPA JAYARAMAPPA GARI NAVEEN -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 9 Jul 2020 13:49 EDT
Pegasystems Inc.
IN
For running external selenium webdriver based tests, creating a Jenkins job and have it triggered from the deployment manager is the way to go.
For running pega units you can run them directly from deployment manager using the run pega units task. If you are referring to scenario tests, they can be run using Run Scenario tests task and by configuring standalone selenium server or using one of the supported third party vendors for browser based testing.
Evonsys
IN
Thank you Anil
Virtusa
US
@konda when we Install Selenium Standalone grid in local machine , does the nodes created by the grid be accessible outside the machine ? like from other machine or from internet ?
Pegasystems Inc.
IN
@Adithya_Acharya I think that depends on how the selenium grid is configured. Please refer to selenium grid documentation to configure it appropriately.
Pegasystems Inc.
IN
@RajaKullaiahD3386 We can if you create a custom task implementation as shown in your pipeline. Custom task creation is supported from 5.x version of deployment manager. As part of the task implementation you will have to figure out how to connect to the external selenium grid and execute tests.
Cox
IN
@konda I have created custom task to invoke activity and able to trigger the activity. But i'm not knowing how to invoke a Selenium test suite from that activity. I have attached the custom task step created in PegaDM. Run utility is the custom task created. With custom task , i'm customizing the activity RunTask which will call my TestAct to execute but in order to invoke the Selenium grid from here I need your inputs or suggestions Please find the attached RunTask customization.
.
Pegasystems Inc.
IN
@RajaKullaiahD3386 You will have to figure out the mechanics of how to invoke tests on selenium grid, possibly from selenium grid documentation. See if there are any REST API's that can be invoked. I was under the impression you already figured this out and are looking for a way to integrate with DM.
-
MALLESAPPA JAYARAMAPPA GARI NAVEEN