Jira – Xray Automation Framework

Jira is a tool developed by Atlassian company for managing and tracking the issues. Testing teams uses the same for managing the manual and automation tests.

Xray is a plugin that integrates easily with Jira and provides multiple options in managing manual and automation tests.

Below diagram depicts the flow of automation framework where Xray automation tests written in gherkin format are  uploaded into Jira.

Test sets will be created by pulling tests into them. Similarly test execution sets will be created and all the test sets can be pulled into them.


Jira Xray Cucumber Automation

Feature files with gherkin scenarios can be downloaded either manually or through automation. In order to have a continuous automation process download feature files using REST api to the local test automation folder.

Implement or automate application using cucumber and selenium driver.

In order to have a continuous integration, integrate the same with Team city or Jenkins. Have the entire code and framework setup in GIT and configure the same in Team city.

Configure builds and execute the same once the deployment is done.

Note: You may mention your comments below in case you need any assistance during implementation of the above framework.


4 thoughts on “Jira – Xray Automation Framework

  1. Krupali February 6, 2017 / 12:14 am

    How do I implement feature files into selenium driver or protractor??

    • ravikanthmogulla February 10, 2017 / 11:16 am

      You can actually create a java class and run it with cucumber class. Mention the feature tags that needs to be executed (check below for sample example). After you execute the class, it creates cucumber step level methods. You can then write your tests in Webdriver.

      import cucumber.api.CucumberOptions;
      import cucumber.api.junit.Cucumber;
      import org.junit.runner.RunWith;

      format = { “pretty”, “html:target/cucumber-html”,
      “junit:target/cucumber-junit/TEST-report.xml” })

      public class RunArtifactsTest {
      //Runner class


      • krupali February 22, 2017 / 11:19 pm

        Is there any way to run the automation tests without cucumber in protractor (where I am using Jasmine framework)?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s