diff --git a/README.md b/README.md index e2cac6a..97daed2 100644 --- a/README.md +++ b/README.md @@ -1,63 +1,134 @@ -# LambdaTest Java SDK +# LambdaTest Java SDK for TestMu AI (Formerly LambdaTest) -Run the following command to install the dependencies of the project mentioned in `pom.xml`: +

+ Made by TestMu AI + Maven Central + Community +

-```sh +## Getting Started + +[TestMu AI](https://www.testmuai.com/) (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 capture visual snapshots and perform SmartUI visual regression testing directly from your Java test suites using the LambdaTest Java SDK — supporting both Selenium WebDriver and Appium-based mobile tests. + +- [Sign up on TestMu AI](https://www.testmuai.com/register/) (Formerly LambdaTest). +- Follow the [TestMu AI Documentation](https://www.testmuai.com/support/docs/) for the full setup walkthrough. + +### Prerequisites + +- Java 8 or higher +- Maven 3.x +- A TestMu AI (Formerly LambdaTest) account with your username and access key + +### Setup + +Clone and install dependencies: + +```bash +git clone https://github.com/LambdaTest/lambdatest-java-sdk && cd lambdatest-java-sdk mvn clean install ``` -Set the required environment variables: +Set your credentials as environment variables. -```sh -export PROJECT_TOKEN= -export LT_ACCESS_KEY= -export LT_USERNAME= -``` +**macOS / Linux:** -## Usage +```bash +export LT_USERNAME="YOUR_USERNAME" +export LT_ACCESS_KEY="YOUR_ACCESS_KEY" +export PROJECT_TOKEN="YOUR_PROJECT_TOKEN" +``` -### To Take SmartUI App Snapshot -`import io.github.lambdatest.SmartUIAppSnapshot;` -#### 1. Create an Object of `SmartUIAppSnapshot` +**Windows:** -```java - SmartUIAppSnapshot smartUIAppSnapshot = new SmartUIAppSnapshot(); - Map screenshotConfig = new HashMap<>(); - screenshotConfig.put("deviceName","Google pixel 9"); - screenshotConfig.put("platform","Android 15"); - - smartUIAppSnapshot.start(); - smartUIAppSnapshot.smartuiAppSnapshot(driver, "screenshot1", screenshotConfig); - smartUIAppSnapshot.stop(); - +```bash +set LT_USERNAME="YOUR_USERNAME" +set LT_ACCESS_KEY="YOUR_ACCESS_KEY" +set PROJECT_TOKEN="YOUR_PROJECT_TOKEN" ``` +### Run tests + +**SmartUI App Snapshot (Appium):** -### To Take SmartUI Snapshot +```java +import io.github.lambdatest.SmartUIAppSnapshot; -#### 1. Install the `smartui-cli` Dependencies +SmartUIAppSnapshot smartUIAppSnapshot = new SmartUIAppSnapshot(); +Map screenshotConfig = new HashMap<>(); +screenshotConfig.put("deviceName", "Google pixel 9"); +screenshotConfig.put("platform", "Android 15"); -```sh -npm i @lambdatest/smartui-cli +smartUIAppSnapshot.start(); +smartUIAppSnapshot.smartuiAppSnapshot(driver, "screenshot1", screenshotConfig); +smartUIAppSnapshot.stop(); ``` -#### 2. Create and Configure SmartUI Config +**SmartUI Snapshot (Selenium WebDriver):** -```sh -npx smartui config:create smartui-web.json -``` ```java import io.github.lambdatest.SmartUISnapshot; -public class SmartUISDK { +driver.get("https://www.lambdatest.com/support/docs/smartui-selenium-java-sdk"); +SmartUISnapshot.smartuiSnapshot(driver, "visual-regression-testing"); +``` + +View results on your TestMu AI dashboard. + +### Local testing with TestMu AI Tunnel + +To test locally hosted apps, set up the TestMu AI tunnel. OS-specific guides: + +- [Local Testing on Windows](https://www.testmuai.com/support/docs/local-testing-for-windows/) +- [Local Testing on macOS](https://www.testmuai.com/support/docs/local-testing-for-macos/) +- [Local Testing on Linux](https://www.testmuai.com/support/docs/local-testing-for-linux/) + +Add the following to your capabilities: + +```js +tunnel: true, +``` + +## Contributions + +Contributions are welcome. Open an issue to discuss your idea before submitting a pull request. When reporting bugs, include your Java version, OS, and Maven/Gradle version. + +## TestMu AI (Formerly LambdaTest) Community + +Connect with testers and developers in the [TestMu AI Community](https://community.testmuai.com/). 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](https://www.testmuai.com/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: + +* [TestMu AI Blog](https://www.testmuai.com/blog/) +* [TestMu AI Learning Hub](https://www.testmuai.com/learning-hub/) +* [TestMu AI on YouTube](https://www.youtube.com/@TestMuAI) +* [TestMu AI Newsletter](https://www.testmuai.com/newsletter/) + +## LambdaTest is Now TestMu AI + +On **January 12, 2026**, [LambdaTest evolved to TestMu AI](https://www.testmuai.com/lambdatest-is-now-testmuai/), 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](https://www.testmuai.com). + +### 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. - private RemoteWebDriver driver; +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. - @Test - public void basicTest() throws Exception { - driver.get("https://www.lambdatest.com/support/docs/smartui-selenium-java-sdk"); - SmartUISnapshot.smartuiSnapshot(driver, "visual-regression-testing"); - } +## Support -} -``` \ No newline at end of file +Got a question? Email [support@testmuai.com](mailto:support@testmuai.com) or chat with us 24x7 from our chat portal.