Forum Discussion

Alekhya's avatar
Alekhya
New Contributor
5 years ago
Solved

Test Complete - Integration with Selenium - Selenium WebDriver Hybrid Framework

Hi All,

 

Can we integrate Selenium scripts, developed in keyword driven framework (without TestNG/JUnit) with Test Complete??  Any quick inputs are appreciated. Thank you!

3 Replies

  • Hi,

     

    Selenium test can be executed from within TestComplete as described here: https://support.smartbear.com/testcomplete/docs/working-with/integration/selenium/overview.html.

    Note, that it is not possible to pass values of some configuration parameters (variables) back and force between main TestComplete and Selenium tests. You must develop proper mechanism (file, environment variables, etc.) if you need this functionality.

     

    • Alekhya's avatar
      Alekhya
      New Contributor

      Hi Alex,

       

      Thanks for the inputs. So, basically if the framework developed is not in one of the unit testing frameworks given below, we might have to develop custom code to integrate with Test Complete and there is no option to plug it directly. Is this correct?

       

      • JUnit

      • TestNG

      • NUnit

      • PyUnit

      • Ruby Test::Unit

      • PHPUnit

      Thank you!

      • AlexKaras's avatar
        AlexKaras
        Icon for Champion Level 2 rankChampion Level 2

        Hi,

         

        Yes, I think that your understanding is correct.

         

        custom code to integrate with Test Complete

        Quick ideas out of top of my head are either command-line driver or some COM component, or some web API call.

        Or some wrapper that will make it possible to run your Selenium tests via one of the supported framework (TestNG, JUnit, ...)