disclaimer: all answers found @ thread on here not working casperjs , phantomjs-versions newer (at least think that's cause).
so... i've created bunch of tests using latest version of casperjs master-branch - not(!) 1 aquired via download-link, needed use phantomjs 2.0 due bugs 1.9.8 version preventing me tests. i'm on win7 64bit environment.
it worked out well, i'm trying automate execution of tests via batch-file described in thread mentioned in disclaimer - don't have path-variable.
i tried use following script alongside putting phantomjs-file casperjs-file in rootdirectory:
@echo off set casper_path=%~dp0 set casper_bin=%casper_path%\bin\ set argv=%* call phantomjs "%casper_bin%bootstrap.js" --casper-path="%casper_path%" --cli %argv% this filestructure far:

while starting batch, face following error: caspererror: cannot find package.json @ c:\package.json
and have no clue how change anymore. hope me out here!
Comments
Post a Comment