Skip to main content

Selenified Integration With TestMu AI

Previously known as SecureCI™ Testing Framework, Selenified is an open-source test automation framework as a wrapper to Selenium with extra features such as detailed traceable reporting, custom reporting, ability to invoke dynamic waits, etc. so you could test your web-application across the web and even API level. The framework is built on top of TestNG, making it intuitive for beginners and offers support with multiple build tools such as Maven, Gradle, and Ant, making it easier to integrate with your DevOps build environments.

With TestMu AI integration to Selenified, you can perform cross browser testing in parallel on more than 2000 real browsers available at an online Selenium Grid offered by TestMu AI. So you don't have to worry about configuring an in-house testing infrastructure as TestMu AI will take care of that for you.

Prerequisites


  • Basic understanding of running tests from Selenified. If you haven't run a Selenified test before, you can refer to their official GitHub repository.

  • TestMu AI Hub URL

  • TestMu AI Authentication Credentials
    You will need your TestMu AI authentication credentials i.e., your TestMu AI username, access key, and HubURL. You need to set them up as your environment variables. You can retrieve them from your TestMu AI automation dashboard by clicking on the key icon near the help button.

    • For Linux/Mac:

      $ export LT_USERNAME= {YOUR_LAMBDATEST_USERNAME}
      $ export LT_ACCESS_KEY= {YOUR_LAMBDATEST_ACCESS_KEY}
    • For Windows:

      $ set LT_USERNAME= {YOUR_LAMBDATEST_USERNAME}
      $ set LT_ACCESS_KEY= {YOUR_LAMBDATEST_ACCESS_KEY}

Running Selenified Tests On TestMu AI Cloud Grid


You can run your Selenified test cases on a cloud-based Selenium Grid, such as TestMu AI, by declaring any of the two aspects into your test automation script.

  1. Feeding a remote Hub URL.
  2. Configuring authentication credentials as the environment variables.

Hub URL


By default, your Selenified tests would be executed over a standalone server. To run your tests using a remote server for TestMu AI Selenium Grid, you will need to provide your TestMu AI HubURL.

-Dhub=https://LT_USERNAME:LT_ACCESS_KEY@hub.lambdatest.com

Note: If required, you can also declare extra parameters such as a particular port or IP.

Authentication Credentials


You can also run your Selenified test automation scripts on TestMu AI Selenium Grid by simply declaring your TestMu AI authentication credentials as the environment variables in your Selenified test automation script.

Note: TestMu AI clubs your test cases under a group and assigns them under a build. If you wish to override the build name, then you can do so by invoking the buildName parameter in your Selenified script.

-Dhub=https://LT_USERNAME:LT_ACCESS_KEY@hub.lambdatest.com

That is all you need to tweak to run your Selenified tests on TestMu AI Selenium Grid. In case you have any questions, feel free to share them with us in the comments or wave them to our 24/7 in-app customer chat support. You could also email us through support@testmu.ai. Happy testing! 🙂

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles