Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript autotesting in browsers without webdriver

I am developing a js library for smart tv embeded apps, and I would like to make some autotests for my code. The problem is, smarttv's do not provide webdriver interface, so it is impossible to use test runners like karma.

I need a solution that can be embedded to a custom HTML page, run tests by my scenario and log results to a div or console. Which test frameworks are capable of that?

like image 439
Alexey Gusev Avatar asked Nov 20 '25 01:11

Alexey Gusev


1 Answers

Testcafe is most suitable E2E framework for your needs: http://devexpress.github.io/testcafe/

It does not require any additional capabilities from browser, and can be run at least with a stool if it has a browser and connection to the network.

See advanced usage with example and comparation with driver-based E2E tools here: https://60devs.com/functional-testing-of-web-applications-using-testcafe-and-nightwatch.html

like image 65
Vladislav Ihost Avatar answered Nov 21 '25 14:11

Vladislav Ihost



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!