Jump to content

Recommended Posts

Posted

I have write a code to make auto login to website.  this is my code.

#include <IE.au3>
Call ("SignIn")


Func SignIn ()
Global $oIE = _IECreate ("https://mypartners.xm.com/#/login?lang=en")
_IELoadWait($oIE,-1)

Local $username = _IEGetObjById ($oIE,"inputID")
Local $password = _IEGetObjById ($oIE,"inputPass")
Local $button = _IEGetObjById ($oIE,"loginButton")

_IEFormElementSetValue($username,"xxxxx")
_IEFormElementSetValue($password,"xxxxx")


EndFunc

But the page https://mypartners.xm.com/#/login?lang=en did not complete load and it take time about 1 minute before i can pass the username and password.

 

Please help me

Posted (edited)
On 12/30/2018 at 7:12 AM, Danp2 said:

See FAQ 31. Lots of examples on the forum for using IUIAutomation and WebDriver UDFs.

Thanks Danp2

 

 

Can you help me

 

Edited by fagh81

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...