Jump to content

Search the Community

Showing results for tags 'login to a website failed'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Dear All, I am trying to login to website using AutoIT script but its failed, throwing the below error msg. "Return SetError($_IESTATUS_Success, 0, $oObject.document)" "Error: The requested action with this object has failed" Please check my below code: Func MyFunc() Local $sUsername = "***" Local $sPassword = "***" $sUrl = "http://appName:8005/OA_HTML/RF.jsp" $oIE = _IECreate($sUrl, 0, 1, 0, 1) Sleep(2000) $oHWND = _IEPropertyGet($oIE, "hwnd") WinSetState($oHWND, "", @SW_MAXIMIZE) $oForm = _IEFormGetCollection($oIE, 0) $oUsername = _IEFormElementGetObjByName($oForm, 'unamebean') ; change name ! $oPassword = _IEFormElementGetObjByName($oForm, "pwdbean") ; change name ! _IEFormElementSetValue($oUsername, $sUsername) _IEFormElementSetValue($oPassword, $sPassword) ; This is my custom defined error handler _IEFormSubmit($oForm) EndFunc Please advise why the above failed, what is the cause of this issue. If possible, share with me a working example.
×
×
  • Create New...