fagh81 Posted December 29, 2018 Posted December 29, 2018 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
Danp2 Posted December 29, 2018 Posted December 29, 2018 This site doesn't appear to load correctly in IE. Suggest that you try with a different browser. Latest Webdriver UDF Release Webdriver Wiki FAQs
fagh81 Posted December 29, 2018 Author Posted December 29, 2018 Do you have any sample code on how to load with other browser? what need i change to open with other browser?
Danp2 Posted December 29, 2018 Posted December 29, 2018 See FAQ 31. Lots of examples on the forum for using IUIAutomation and WebDriver UDFs. Latest Webdriver UDF Release Webdriver Wiki FAQs
fagh81 Posted January 4, 2019 Author Posted January 4, 2019 (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 January 4, 2019 by fagh81
Danp2 Posted January 4, 2019 Posted January 4, 2019 I thought that I already did by pointing you to the FAQ. You need to decide which of those methods you intend to use and then try writing some code. Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now