Meet 2025’s Top-rated Software Test Management Tool. Learn More >

How to Sync Selenium Java BDD Automation Results with QA Touch?

Java BDD Automation

In this article

As a team, we are always striving to have better integration of our all test results in one centralized place. The QA Touch team provided the sample snippet for  Selenium with TestNG with a sample project. But in our organization, we have a test automation environment with Selenium, Java, BDD, and Junit framework.  So, we extended that and updated it to be compatible with the BDD cucumber framework. I wanted to share my journey with the QA Touch community, so everyone who is using this automation setup will benefit.

Let us see an example of how you can set it up.

Setting up the Automation Code

Make a note that this article is written in mind that the Selenium and Test Automation environment is already available. We are going to see how to set up the syncing of test results of the sample automation project, Selenium, Cucumber BDD, and Junit framework to QA Touch. Note that the screenshots and the execution steps mentioned in the article are based on IntelliJ IDE.

Download the sample project from the Github repository from Selenium Java – BDD – QA Touch Integration Sample and import it into your test automation environment. Execute as a Scenario to confirm the test is executed without any errors because of the environment changes.  

Recommended Read: Selenium With Python Tutorial

Sync Test Results from Java Selenium BDD to QA Touch

Next, we are going to see about setting up the synchronization of the test results process. The steps are below:

  1. Login in QA Touch.
  2. Click the Project in which you want to sync the test automation results.
  3. Create a test run for the test automation execution.
  4. In this sample project, we have a single test case. Add the test case code from QA Touch. For example, it is TC0001. The below screenshot shows this.

 Java Selenium BDD to QA Touch

5. Go to your sample test automation project, open the feature file, update the method name under Scenario: TC0001_Google Search and Save it. The snippet will look like below:

Automation Project

6. Set up the project folder structure like the screenshot below:

project folder structure

7. Access the QA Touch application and get the details from the Test run – config popup.

8. Configure the data API token, and domain name in the file QAtouchAPIClient.java as shown below:

data API token

9. Update the project and test run ID details in the Hooks.java file.

Hooks.java file

10. Run the Test in the Feature file with the Run Scenario option as below screenshot.

Run the Test in the Feature file

11. The execution log is below:

execution log

12. Go to the test run in QA Touch to see the test results. The test result snapshot after the update.

 test run in QA Touch

I hope this blog helps to understand how can we automate the test run result sync 

process by leveraging QA Touch API for Java Cucumber BDD test results.

Feel free to reach out to the team at support@qatouch.com for new feature requests.

Picture of Sachin Ghangare

Sachin Ghangare

Sachin Ghangare has a decade of experience in Automation testing and currently working as an Automation Architect in Aktivolabs Digital Health Pvt Ltd. Passionate in participating in testing community activities. He plays Carrom in his free time.

All Posts

Deliver quality software with QA Touch

Questions? Explore our docs, videos, and more just one click away!

Real people with life changing results

Insights from QA Teams on QA Touch’s Impact

Frequently asked questions

Everything you need to know about the product and billing

Why QA Touch?

QA Touch is an AI-driven test management platform built by testers for testers. It simplifies collaboration between developers and QA engineers while helping to manage, track, and organize test cases efficiently. Streamline your testing processes, enhance QA visibility, and deliver high-quality software with ease.

QA Touch offers comprehensive features to manage the entire test management process. From easy migration with CSV files to audio-visual recording of issues and activity logs and a shareable dashboard for real-time reporting to stakeholders, we ensure the testing teams are always on top of things.

Our focus is on providing complete visibility and control over testing workflows and fostering collaboration between testers and other stakeholders (both internal and external). You can have a look at all the features here.

Once you sign up, it takes only 30 minutes to get your QA Touch account up and running. After registration, you will receive an account activation email with all the details. Log in with your account details and create your first test project on QA Touch—it’s that simple. You are now ready to start inviting your team and assigning them roles.

If you are finding it difficult to log in or facing any difficulty, feel free to reach our support team at info@qatouch.com

Why is QA Touch the best test management tool for me?

QA Touch is an AI-driven test management platform that simplifies collaboration between your developers and testers. Beyond creating, organizing, and executing test cases, QA Touch enables you to manage projects, track bugs, and monitor time—all in one platform.

With an intuitive UI and seamless two-way integrations, QA Touch adapts to your workflow, making test management, project oversight, and bug tracking smarter and more efficient.

With secure OKTA, Microsoft Azure SSO, and Google SSO enterprise features, you can stay connected in every app.

We have integrations with dozens of major apps like Slack, Jira, Monday.com, Cypress, and many more. Explore the whole list of integrations now supported here: Explore integrations

The test management tool is a modern software application that helps QA teams and developers manage their testing process efficiently. It provides a structured approach to creating, organizing, executing, and tracking tests to ensure software applications meet specified requirements and function properly before release.

Don’t just take our word for it.

QATouch is a leader in G2 market reports.