Skip to content

LambdaTest/hyperexecute-selenium-gradle-testng-sample

Repository files navigation

Run HyperExecute Selenium Gradle TestNG Tests on TestMu AI (Formerly LambdaTest)

Made by TestMu AI Community

Getting Started

TestMu AI (Formerly LambdaTest) is the world's first full-stack AI Agentic Quality Engineering platform that empowers teams to test intelligently, smarter, and ship faster. Built for scale, it offers a full-stack testing cloud with 10K+ real devices and 3,000+ browsers. With AI-native test management, MCP servers, and agent-based automation, TestMu AI supports Selenium, Appium, Playwright, and all major frameworks.

With TestMu AI (Formerly LambdaTest), you can run Selenium Gradle TestNG tests across real browsers and operating systems at scale. This sample shows how to configure Selenium Gradle TestNG tests to run on the TestMu AI HyperExecute cloud.

Prerequisites

  • Java and Gradle installed
  • HyperExecute CLI — download the binary for your OS from the TestMu AI HyperExecute documentation
  • A TestMu AI (Formerly LambdaTest) account — sign up here

Setup

Clone the repository:

git clone https://github.com/LambdaTest/hyperexecute-selenium-gradle-testng-sample.git
cd hyperexecute-selenium-gradle-testng-sample

Set your TestMu AI credentials as environment variables:

Linux/macOS:

export LT_USERNAME=YOUR_USERNAME
export LT_ACCESS_KEY=YOUR_ACCESS_KEY

Windows:

set LT_USERNAME=YOUR_USERNAME
set LT_ACCESS_KEY=YOUR_ACCESS_KEY

The HyperExecute YAML configuration is present in the root directory of this repository:

---
version: 0.1
runson: win

autosplit: true
concurrency: 2

pre:
  - gradle clean build -x test

testDiscovery:
  type: raw
  mode: dynamic
  command: grep 'class name' src/test/resources/testng.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/\/\x3e//g'

testRunnerCommand: gradle test --tests $test

retryOnFailure: true
maxRetries: 1

jobLabel: [gradle-testng, win, autosplit]

Run tests

Run via HyperExecute CLI:

./hyperexecute --config <path_of_yaml_file>

Or with explicit credentials:

./hyperexecute --user <your_username> --key <your_access_key> --config hyperexecute.yaml

To run on the standard grid directly:

# Run a single test
gradle test --tests com.test.app.Sample

# Run the full suite
gradle clean test

# Run smoke tests
gradle clean smokeTests

Visit the HyperExecute Dashboard to monitor your job status and view detailed execution logs.

Local testing with TestMu AI Tunnel

To test locally hosted apps, set up the TestMu AI tunnel. OS-specific guides:

Contributions

Contributions are welcome. Open an issue to discuss your idea before submitting a pull request. When reporting bugs, include your Node.js version, OS, and Angular CLI version.

TestMu AI (Formerly LambdaTest) Community

Connect with testers and developers in the TestMu AI Community. Ask questions, share what you are building, and discuss best practices in test automation and DevOps.

TestMu AI (Formerly LambdaTest) Certifications

Earn free TestMu AI Certifications for testers, developers, and QA engineers. Validate your skills in Selenium, Cypress, Playwright, Appium, Espresso and more. Industry-recognized, shareable on LinkedIn, and built by practitioners, not marketers.

Learning Resources by TestMu AI (Formerly LambdaTest)

Learn modern testing through tutorials, guides, videos, and weekly updates:

LambdaTest is Now TestMu AI

On January 12, 2026, LambdaTest evolved to TestMu AI, the world's first fully autonomous Agentic AI Quality Engineering Platform.

Same team. Same infrastructure. Same customer accounts. All existing LambdaTest logins, scripts, capabilities, and integrations continue to work without change.

👉 Find the new home for LambdaTest.

How LambdaTest Evolved into TestMu AI

In 2017, we launched LambdaTest with a simple mission: make testing fast, reliable, and accessible. As LambdaTest grew, we expanded into Test Intelligence, Visual Regression Testing, Accessibility Testing, API Testing, and Performance Testing, covering the full depth of the testing lifecycle.

As software development entered the AI era, testing had to evolve, too. We rebuilt the architecture to be AI-native from the ground up, with autonomous agents that plan, author, execute, analyze, and optimize tests while keeping humans in the loop. The platform integrates with your repos, CI, IDEs, and terminals, continuously learning from every code change and development signal.

That evolution earned a new name: TestMu AI, built for an AI-first future of quality engineering. TestMu is not a new name for us. It is the name of our annual community conference, which has brought together 100,000+ quality engineers to discuss how AI would reshape testing, long before that became an industry norm.

What started as a high-performance cloud testing platform has transformed into an AI-native, multi-agent system powering a connected, end-to-end quality layer. That evolution defined a new identity: LambdaTest evolved into TestMu AI, built for an AI-first future of quality engineering.

Support

Got a question? Email support@testmuai.com or chat with us 24x7 from our chat portal.

About

Run Selenium Gradle TestNG Tests with HyperExecute on TestMu AI (Formerly LambdaTest).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages