Need a script which opens a URL and logs in with un & pwd

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 5 years, 8 months ago.

  • Author
    Posts
  • #6305

    by athreyatoo43 at 2013-03-12 23:33:48

    Hi

    I need a script which opens a site and logs in directly with the username and pwd which is given as an input in the script.

    by DonJ at 2013-03-13 08:10:34

    How does the Web site authenticate? Is it HTTP auth, or is there a username/password field on the Web page that has to be filled in?

    by athreyatoo43 at 2013-03-13 19:38:43

    it has un/pwd field......

    by DonJ at 2013-03-13 20:57:17

    So that's hard. You have to load the page into a DOM, manipulate the text boxes, and invoke a button click. It isn't impossible but if you dont have DOM experience it is tricky, and PowerShell isn't an optimal tool for it. I don't have a pre built script I can give you to do this.

You must be logged in to reply to this topic.