Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_IEFormElementSetValue

$
0
0

I think I may know the answer to this but figure I will ask just in case there is a way around it

 

 

I am navigating to a page where I need to input a path to a file.  I have gone through the process to get to the final page but I can't get the file name in the box.  At the very end I get a browser "securuty" error.  

 

What I think is tripping me up is this

 

16793641932_368680d57f.jpg

 

The document box is grayed out......if I am doing this manually I have to browse to the file.  Assuming it is this that is tripping me up is there a way around it?

 

 

 

here is what I get from the debugger

 

0061: 0-0: Local $form4 = _IEFormGetObjByName($oIE,"docEntry") ;
0062: 0-1: Local $filebox = _IEFormElementGetObjByName($form4, "attachedDoc")
0063: 0-1: _IEFormElementSetValue($Filebox, "c:xxx.xls")
--> IE.au3 T3.0-1 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidObjectType (Browser securuty prevents SetValue of TYPE=FILE)
0067: 4-1: Exit

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>