Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can I view the tests scripts running in casperjs in browser for easy tracking

Hi I'm using jquery & Ajax as a front end in my web application , so I'm working on Automating the test environment using casperjs. because of using jquery - ajax, I'm unable to track the application whether the page is loaded or not and many other events. so In development time I'm thinking to view the actions in browser rather in text mode.

is there any possibility to view the test scripts running through browser actions?

like image 560
Srikanth Malyala Avatar asked Apr 03 '14 14:04

Srikanth Malyala


Video Answer


1 Answers

Yes, use the slimerJS (gecko -> firefox) engine in casper : http://slimerjs.org/ It opens firefox and you will see your automatic tests in the browser.

This answer could interest you : Is there a way to step in to CasperJS code and Debug step by step

like image 133
Fanch Avatar answered Oct 13 '22 03:10

Fanch