logo logo

Selenium & Appium Test Automation Solution for TeamCity

main post image

CI tools are revolutionizing the way we build and deploy our software, and incorporating automated test cases as part of the CI flow is an imperative step towards achieving product stability! There are a lot of great tools that implement CI/CD flows, such as: JenkinsTeamCityTravis CIBamboo and many more, but only 2 seem to lead the pack.

Jenkins is without a doubt the leading CI tool with a market share of almost 50%. In the second place, you can find TeamCity that takes up ~20% of the CI tools market share. The cool thing is that from now on, with TestProject‘s 100% free test automation platform, you can easily integrate your Selenium and Appium automated tests with both of these leading tools, by using a simple built-in plugin.

This article will guide you step by step through the process of setting TeamCity integration with TestProject. The TestProject plugin for TeamCity provides an easy way to execute TestProject jobs, update applications, data sources, project parameters, test packages and generate configuration for the TestProject Agent.

❗ Jenkins lovers – You can go ahead and read the full documentation here.

Prerequisites

  1. You need to have a TestProject account. Don’t worry, it’s 100% FREE.
  2. At least one registered and running TestProject Agent.

How to Use TeamCity Plugin

  • Install the plugin in your TeamCity server.
  • Go to ‘Administration’ > ‘Integrations’ > ‘TestProject’ > set your TestProject API key (which can be obtained here).
  • Create a new build step and select ‘TestProject’ in the ‘Runner type’ dropdown.
  • Now, simply select the action that you want to perform in TestProject.

Build Steps

Running a TestProject Job

{
"browsers": [
  "Chrome"
],
"devices": [
  "AAA111BBB"
],
"queue": true,
"restartDriver": true,
"projectParameters": {
  "ProjectParameter1": "Value1",
  "ProjectParameter2": "Value2",
  "ProjectParameter3": "Value3"
},
"testParameters": [
  {
    "testId": "string",
    "testPosition": 0,
    "dataSourceId": "string",
    "reinstallApp": true,
    "data": [
      {
       "TestParameter1": "Value1",
        "TestParameter2": "Value2",
        "TestParameter3": "Value3"
      }
    ]
  }
]
}

Please visit our API documentation to read more about using execution parameters when running a job.

Updating a Mobile Application (apk/ipa) File

Amit Yahav

About the author

Amit Yahav

Backend developer & Test automation solution architect at TestProject.
Father of one, tech geek and Manchester United fan!

Join TestProject Community

Get full access to the world's first cloud-based, open source friendly testing community. Enjoy TestProject's end-to-end test automation Platform, Forum, Blog and Docs - All for FREE.

Join Us Now  

Comments

3 2 comments

Leave a Reply

popup image

Complete E2E Automation Solution!

Join over 10K organizations (from Wix, IBM, Payoneer and many more!) using the world's first FREE cloud-based test automation platform, supported by the #1 testing community.
Sign Up Now right arrow
FacebookLinkedInTwitterEmail