LambdaTest Test Manager Automation Test Integration

We are currently integrating our automation framework with the LambdaTest Test Manager. We have successfully linked automated test runs to specific Test Cases using the tms.tc_id capability as described in your documentation:

In our project, we follow the Page Object Model (POM) structure and maintain all LambdaTest capabilities in a central config.yml file. The current implementation works, but it appears to support linking only one test case at a time.

Could you please guide us on how to integrate multiple test cases within a single run using this capability, while keeping our current POM structure and configuration file setup?

Problem tms.tc_id usually links one test case per run. to link multiple test cases while keeping your POM and config.yml.

Solution 1: Comma-separated IDs

In your config.yml, you can list multiple test cases like this:

tms: tc_id: “LT-101,LT-102,LT-103”

  • This links one test run to all three test cases.

  • No changes needed to your POM.

Solution 2: Run each test case separately

  1. Put your test case IDs in a list:

tms: tc_ids: - “LT-101” - “LT-102” - “LT-103”

  1. Iterate in your test runner:

for tc_id in config[‘tms’][‘tc_ids’]: capabilities[‘tms.tc_id’] = tc_id driver = webdriver.Remote(url=hub_url, desired_capabilities=capabilities) run_test(driver) driver.quit()

  • Each test case gets a separate run for better reporting.

  • POM structure stays the same.

Use Solution 1 for a single run with multiple test cases. Use Solution 2 if you want separate runs per test case.

Both approaches work with your current POM and config setup.