Wednesday, April 15, 2020

Integration of testcomplete with Jenkin

Integrating Test complete with jenkin can be in following way

•By using the TestComplete support plugin. – most convenient way
•By using the special SessionCreator command-line utility that is shipped along with TestComplete.
•By running TestComplete from the command line.

Pre requisite
Test complete must be available on jenkin node
Test complete license should be accessible from jenkin node

Run TestComplete tests in Jenkins
  1. Install the TestComplete support plugin. In jenkin- manage jenkin>manage plugin>switch available tab>testcompletesupport plug in and install without restart
  2. Prepare jenkin node
    1. Enable remote desktop connection, configure group policies, and do a few more preparatory actions
    2. Configure slave computers as Jenkins nodes and launch the slave agent. For complete information
  3. Add your TestComplete tests to Jenkins builds -You can add your TestCompletetests in Jenkins by using Freestyle Jobs or Pipelines

Test results
After the build is finished, you can view the results of your TestComplete tests in Jenkins on the build page. To do this open the build page in your browser and click TestComplete Test Results in the menu on the left

Export results
With TestComplete, you can export test results in various formats: tcLogX or .mht and JUnit report

Reference by support of smart bear and credit goes to them.

No comments:

Post a Comment