Forum Discussion

varun_masuraha's avatar
varun_masuraha
Contributor
9 years ago

Can we add Selenium unit tests written in javascript ?

Hey,

 

As TestComplete has limitations with SVG graphs, we wrote a Selenium script in PyUnit & invoked it from TestComplete, which worked pretty well.

 

But we have been using javascript in TestComplete & want to maintain only one language in framework, as much as possible.

I understand that JUnit can't be used with javascript.

Is there any way we can add unit tests for Selenium written in javascript ??

 

regards,

Varun

2 Replies

    • varun_masuraha's avatar
      varun_masuraha
      Contributor
      Hey Tanya,

      Python scripts already worked well. We want to run javasricpt tests. Any idea for that ?
      One way I think is using Selenium remote server tests (in js), instead of webdriver. Didn't try though.

      Thanks,
      Varun