Page 1 of 1

Running an Automated Test fails using PhantomJs

Posted: Tue Sep 19, 2017 5:07 pm
by gourav1711
I am using Siesta 4.1.1 Standard edition that I downloaded from the customer zone with ExtJS 4.2.2
When I run the below command:
~/Downloads/siesta-4.1.1-standard/bin/phantomjs localhost:3000/siesta
I get the following error:
[ERROR] The harness page you are targeting contains Siesta Lite distribution. To use automation facilities, 
make sure harness page uses `siesta-all.js` from Standard or Trial packages
[ERROR] Setup failed: Error: Error while opening harness page: 5
I get this error even if I am using a Standard edition of Siesta.
Any solutions?

Re: Running an Automated Test fails using PhantomJs

Posted: Tue Sep 19, 2017 9:49 pm
by mats
Try using latest version? Overall we recommend not using Phantom as it's not maintained anymore, try SlimerJS instead?

Re: Running an Automated Test fails using PhantomJs

Posted: Tue Nov 07, 2017 4:42 pm
by arf_arf
Hello on centos the Phantom Js does not work...
the message displayed after the execution of the command is: can't open the URL

the version of siesta used is 4.0.6


Thank you for your reply

Re: Running an Automated Test fails using PhantomJs

Posted: Tue Nov 07, 2017 9:24 pm
by nickolay
Hi,

What if you open that url in the browser?

You should also use the latest Siesta if possible.

Re: Running an Automated Test fails using PhantomJs

Posted: Mon Nov 13, 2017 12:30 pm
by arf_arf
if i open it in the browser it works ...

Re: Running an Automated Test fails using PhantomJs

Posted: Mon Nov 13, 2017 1:49 pm
by nickolay
Ok, try with latest Siesta?