You use this to get the Element :
$oIE.document.getElementById($formUID)
And The Variable is defined as
$formUID = "username"
But, there is no Input Field or any other element with id="username"
or id="password"
in your HTML-Script
change this (line 3 and 5)
$formUID = "username"
$formPID = "password"
to this
$formUID = "usernameInput"
$formPID = "passwordInput"
4
solved Autoit script is not taking id values from html pages when i am using IE10 windows8?