On Tue, 2012-10-16 at 14:13 +1300, Derek Smithies wrote:
> Hi,
>   I have several (well, 100) web pages from a particular site that I 
> want to test.
> 
> Is there a way I can get a browser to run a script to simulate a human 
> clicking on designated buttons?
> 
> I know before hand what the buttons are, and what they look like, and 
> location on the screen etc.
> Thus - to convince the browser to start clicking on different boxes - 
> and keep clicking, and
> see if it breaks. I can write the script to test different pages - no 
> problem - but the question is to find
> the code to get the browser to act as though a real person was clicking 
> on buttons.
> 
> It "has" to be in a script run by the browser, as the javascript login 
> system sets some cookies which are required
> to move from page to page. Not sure that wget can work with cookies.
> 
> Thanks in advance,
>    Derek.
> 
I've used http://phantomjs.org/ for similar in the past. It supports
cookies, but may be a bit buggy.


Steve

-- 
Steve Holdoway BSc(Hons) MIITP 
http://www.greengecko.co.nz
MSN: [email protected]
Skype: sholdowa

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to