Can we add Selenium unit tests written in javascript ?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2015
04:08 AM
10-08-2015
04:08 AM
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 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2015
08:54 AM
10-14-2015
08:54 AM
Hi Varun_masuraha,
If you have the PyUnit test prepared, you can simply call it from TestComplete. You need to specify some additional settings like it’s listed here: PyUnit Testing Support ( http://smartbear.com/viewarticle/74333/ )
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2015
09:06 AM
10-14-2015
09:06 AM
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
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
