Jump to content

Signin Automation Required


Recommended Posts

#include <IE.au3>


Local $oUser, $oPass, $oSubmit
Local $sUser = "testuser"
Local $sPass = "password"
Local $url = "https://          ?"
Local $oIE = _IECreate($url,1)

_IELoadWait($oIE)

$oInputs = _IETagNameGetCollection($oIE, "input")
for $oinput in $oInputs

    if $oinput.type = "text" And $oinput.name = "userid" And $oinput.size = "8" Then $oUser = $oInput

    if $oinput.type = "password" And $oinput.name = "password" And $oinput.size = "8" Then $oPass = $oInput

    if $oinput.type = "submit" And $oinput.value = " Sign in " Then $oSubmit = $oinput

    if IsObj($oUser) And IsObj($oPass) And isobj($oSubmit) then ExitLoop

Next

$oUser.value = $sUser
$oPass.value = $sPass
_IEAction($oSubmit, "click")

_IELoadWait

Do help me with the above script, its not working for.

Note: URL is removed while sharing the script, do help me out with the script only --------- (what's wrong with the script)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...