Hello everyone,
I have been experiencing a strange error that repros on only one of my laptops, on the other it works fine.
Now obviously its a config error somewhere.... but I have been batteling this for 4 days now and cant figure out what else to do.
Help please.
Error in console:
C:\Program Files\AutoIt3\Include\IE.au3 (3324) : ==> The requested action with this object has failed.:
$oTemp = $o_object.document.body
$oTemp = $o_object.document^ ERROR
The scenario: I never get to -> MsgBox(64, "Debug", "3. Searchtext content - " & $searchText)
without that error
Code snippit:
$oIE = _IECreate($url1)
$oFrames = _IEFrameGetCollection($oIE)
$iNumFrames = @extended
For $i = 0 To ($iNumFrames - 1)
$oFrame = _IEFrameGetCollection($oIE, $i)
MsgBox(64, "Debug", "2. Frame content - [" & $oFrame & "]")
$searchText = _IEPropertyGet($oFrame, "innertext")
MsgBox(64, "Debug", "3. Searchtext content - " & $searchText)
Next
What have I done to try to resolve the problem?
I removed all extra programs, even office since the laptop is dedicated to the automation, cleaned the system with CCleaner.