How to test a Web site by driving Konqueror thru its equivalent of Automation?

Koos Vriezen koos.vriezen at xs4all.nl
Mon Jun 21 16:47:51 BST 2004


On Mon, Jun 21, 2004 at 07:57:23AM -0700, Phlip wrote:
> Koos Vriezen wrote:
> 
> > #!/usr/bin/env kjscmd
> > 
> > function Slots() {
> >     this.pageLoaded = function() {
> >          println ("loaded");
> >         
> >
> part.executeScript('document.forms[0].elements("unickname").value="What\'s
> > up Doc?"');
> >     }
> > }
> 
> > part.openURL( "http://slashdot.org" );
> 
> Thanks for the sample. But...
> 
> <vent>
> 
> I can't use it in my book, because it attacks a public
> site. Of course all tests are attacks, so a book on
> testing is essentially a book on kiddy-hacking all the
> generous public Web sites that provide only soft
> security, or volunteer clean-up. But I need a sample
> that hits a private site, just on principle!

I'm sorry to fool around with your question and trying to mislead you to
put an attack on a public site in your book. No, it was in no way just
an example to get you going.

Koos




More information about the kfm-devel mailing list