문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top