Ask a Question

Test Complete - Integration with Selenium - Selenium WebDriver Hybrid Framework

SOLVED
Alekhya
New Contributor

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 3
AlexKaras
Community Hero

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.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

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!

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, ...)

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: