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)


$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


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


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 post
Share on other sites

@Buu85 It will be very hard to help you without the DOM of the 3 objects.  Just inspect the 3 objects, capture screen, and post it here.

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...