seleniumtestngpom.xmlextentreports

Exploring options to deliver Selenium test to non-tech business team who wish to run the test on their own


Our non-technical business team need to run only 1 automation test script which will be fetching data from several hundreds rows of Excel file. I've created automation that script using a Maven project (with POM framework and Extent Report), using Selenium WebDriver, Java, TestNG, and Eclipse but not sure how to deliver the test/script to the business team. Would appreciate if you guys can suggest a few options to deliver this script to the business team so that they can change few parameters in Excel file and run the script on their own. I'm getting Extent report at the end of the test, would be best if they can get the Extent report as well.

Note: Since they are non-technical, it is preferable to avoid installing and configuring Java, Eclipse, etc tools on their machine but that's not mandatory so I'm open to check several options.


Solution

  • I would like to suggest few options here :

    1. Jenkins - Install it on Any server and share login and url with them. They can execute build and no technical knowledge required.

    2. Executable JAR - Export your project as executable JAR and deliver that JAR file. All they have to do it , Double click on JAR file OR execute via batch file and it should run that script and get done the job. Make sure all data related file should be there with JAR. i.e excel file

    Note : They always need JAVA in the machine regardless of what they prefer from above to use.