sohumc Posted June 10, 2014 Posted June 10, 2014 Hello, I am working on writing code to automate time entry into the company's sharepoint. However, when I am trying to access the direct page, I get the error --> IE.au3 T3.0-1 Error from function _IELoadWait, $_IESTATUS_ClientDisconnected (-2147417848, Browser has been deleted prior to operation.)" C:\Program Files (x86)\AutoIt3\Include\IE.au3" (895) : ==> Variable must be of type "Object".: Return SetError($_IESTATUS_Success, $oTemp.forms.length, $oTemp.forms) Return SetError($_IESTATUS_Success, $oTemp^ ERROR It does not connect to the window, and as such it does not let me find a form of the site. How can I fix this? This is my code Local $oIE = _IECreate($url) Local $oForms = _IEFormGetCollection($oIE)
Danp2 Posted June 10, 2014 Posted June 10, 2014 What is the URL? Perhaps an issue with switching security zones where the IE object gets destroyed? Latest Webdriver UDF Release Webdriver Wiki FAQs
sohumc Posted June 11, 2014 Author Posted June 11, 2014 It's the company's sharepoint URL, and a further link to the Time Entry page within that. Is there any way I can access that object? Or maybe attach it to a new one?
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