Now I tried this :
#include <IE.au3>
_IEErrorHandlerRegister()
ShellExecute("C:\Program Files\Internet Explorer\IEXPLORE.EXE", "about:blank")
Sleep(2000)
$oIE = _IEAttach("about:blank", "url")
Sleep(2000)
_IENavigate($oIE, "https://testmanager.mindtree.com/testlink/login.php")
_IELoadWait($oIE)
$oElement = _IEGetObjByName($oIE, "login")
_IEFormElementSetValue($oElement, "*******")
$oElement = _IEGetObjByName($oIE, "password")
_IEFormElementSetValue($oElement, "********")
$oElement = _IEGetObjById($oIE, "submit")
_IEAction($oElement, "click")
_IELoadWait($oIE)
;$oElement = _IEFrameGetObjByName($oIE,"titlebar")
$oFrames = _IEFrameGetCollection($oIE)
$oFrame = _IEFrameGetCollection ($oIE, 0)
$oForm = _IEFormElementGetObjByName($oFrame,"id")
_IEFormElementSetValue ($oForm, "137991")
_IEFormSubmit ($oFrame)
Here also I am getting some errors:
--> IE.au3 V2.4-0 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidObjectType
--> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Error from function _IEFormSubmit, $_IEStatus_InvalidObjectType