how to write a script that logs into an application and checks a page

Posted by josh on Stack Overflow See other posts from Stack Overflow or by josh
Published on 2010-04-22T02:22:47Z Indexed on 2010/04/22 2:33 UTC
Read the original article Hit count: 256

Filed under:
|
|

Is it possible to write a script that will login to an application using uname/pwd?

the username/password are not passed in through POST (they dont come in the URL)

Basic steps I am looking for are:

  • Visit url
  • enter uname/pwd
  • click a button
  • click a link
  • get the raw html to make sure it does not have 500 error

Is that possible to do in any language?

Please point me to some examples as well

© Stack Overflow or respective owner

Related posts about scripting

Related posts about testing