Skip to main content

Running Your QMetry Tests On LambdaTest Selenium Grid


QMetry is a codeless platform tailored for DevOps and Agile testing teams. It can be used to prepare and execute test scenarios on multiple platforms very easily. Not only that, but QMetry also allows you to record test cases in almost all major languages and frameworks, including the QMetry framework. LambdaTest now integrates with the QMetry platform to help you execute cross-browser testing of your website, web app, or your mobile website, over 3000+ real desktop devices, mobile viewports, and operating system combinations on its cloud-based selenium grid. This document is a comprehensive guide to help you understand how to integrate QMetry with your LambdaTest account.

How To Setup Your LambdaTest Account With QMetry?


Once you have your project set up in the QMetry app and test suite ready, you need to specify and activate your LambdaTest account in the QMetry app to execute it over the LambdaTest's cloud-based Selenium Grid. Below is the step by step guide to help you do just that:

  1. Once you have your test suite ready, click on the Execute button on the app, and select Remote.
Activating LambdaTest Account QMetry app
  1. In the window that opens, navigate to LambdaTest tab. Here, you will need to enter your account details and the desired capabilities to execute the test over your LambdaTest account.
Manage Capabilities
  1. Now, you need to provide access of your LambdaTest account to the QMetry app. To do so, add your username and access key over their corresponding fields, and click on FETCH PLATFORM LIST button. This will verify your credentials and connect your LambdaTest account with the QMetry app successfully, based on your current plan.
LambdaTest Configuration in Qmetry App>To get your Username and Access Key, go to your LambdaTest automation dashboard and click on the “key” icon left to the help button, on the top right corner.Finding Username and Access Key

If you are on Lite or Live plan, and your provided automation minutes have been exhausted; the above step will throw an error. In such a case, you can wait for the next availability of automation minutes, or you can upgrade your account. To learn more about how to manage and upgrade your account, refer this guide. 6. Once done, you will be able to select your desired capabilities in their corresponding fields, like the platform, browser, browser version, resolution, etc. To know more about desired capabilities, refer to this guide.

Qmetry web capailities list
  1. Click on Save, once you have selected the desired capabilities. The current account info and the capabilities will be saved with a name that you provide.
Saving LambdaTest Configuration in Qmetry App

That's it. Your QMetry app has been integrated successfully with your LambdaTest account to execute your tests on its cloud-based Selenium Grid.

Running Tests From Your QMetry App On LambdaTest Platform


For demo purpose, we have recorded a test scenario, which includes:

- Opening [LambdaTest ToDo App](https://lambdatest.github.io/sample-todo-app/)
- Check the first item in the list
- Check the second item in the list
- Add a new item in the list, with text "Yey, Let's add it to list".
LambdaTest Sample Appqmetry Sample to do list

For the desired capabilities, we have chosen the following details:

platform: macOS High Sierra
browserName: Chrome
version: 87
resolution: 1280x800
network: true
visual: true
Desired Capabilities

Now just select the profile, and hit Start.

Start Automated Testing Using Qmetry and LambdaTest

The test execution will then start, and you can see the same on the automation dashboard of your LambdaTest account.

Test Automation Dashboard

Once the test is complete, you can view the test result on the automation dashboard by clicking on the test case. You can see and verify if the test has been passed or failed in the Automation Logs.

Test Automation Logs

For each test executed overthe LambdaTest platform, you can view logs, mark bugs, and do much more.

Congrats! You have successfully integrated the QMetry app with your LambdaTest account and ran your test cases over the LambdaTest's cloud based Seleniunm Grid. If you come across any doubts or questions, reach out to us via our 24/7 chat support or mail us at support@lambdatest.com. Happy testing! 🙂