searay200 Posted December 11, 2013 Posted December 11, 2013 Hi, Looking for some advice on best way to automate find objects and text boxes in a web page: ctalog field<input name="ctalognum" class="tblFieldInputMid" type="text" autocomplete="off"/>item field<input name="item" class="tblFieldInputMid" type="text" autocomplete="off"/>description <input name="submit" class="buttonFace" type="submit" value="submit"/> Advice welcomed and appreciated.
gruntydatsun Posted December 11, 2013 Posted December 11, 2013 (edited) Have a look at the sample code in the help file under IE.au3. http://www.autoitscript.com/autoit3/docs/libfunctions/_IEFormSubmit.htm Edited December 11, 2013 by gruntydatsun
searay200 Posted December 12, 2013 Author Posted December 12, 2013 Will thsi work with objects in frames?
Valuater Posted December 12, 2013 Posted December 12, 2013 Will thsi work with objects in frames? Yes... IE.au3 can handle Objects in frames too 8)
JohnOne Posted December 12, 2013 Posted December 12, 2013 Handling elements in cross domain frames can fail. AutoIt Absolute Beginners  Require a serial  Pause Script  Video Tutorials by Morthawt  ipify Monkey's are, like, natures humans.
searay200 Posted December 12, 2013 Author Posted December 12, 2013 HI, can anyone point me at some code snippets for working frames? Thanks.
searay200 Posted December 12, 2013 Author Posted December 12, 2013 Basically looking at putting some script into a text box within a frame?
jdelaney Posted December 12, 2013 Posted December 12, 2013 The first param of the _IE functions can use the IE Document object, or a frame (sets context of where to search). Use helpfile for examples, post code, and others will assist with issues. _IEFrameGetCollection _IEFormElementGetObjByName IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Valuater Posted December 12, 2013 Posted December 12, 2013 IE Builder can show you all the frames, objects and other important information from the web page... 8)
searay200 Posted December 12, 2013 Author Posted December 12, 2013 Looked at this further and have found its atually objects in a table within a frame which has nested tables?
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