delfin Posted July 9, 2010 Share Posted July 9, 2010 (edited) Hi Friends, I am planning to automate a web application and the challenges that I found are as follows. Please help with your expertise I am eager to know how to perform below scenarios without using mouse click option. 1. How to select a value from a drop down of a web application? 2. How check a radio button? 3. How to manipulate an editable PDF form? Edited July 9, 2010 by delfin Link to comment Share on other sites More sharing options...
DaleHohm Posted July 9, 2010 Share Posted July 9, 2010 For the first two, see the _IEFormElement*Select funtions. For the third, you need to have Adobe standard edition to get the OLE object model (otherwise it is back to Mouse Clicks). This is something I'm working on now and just getting started... If anyone has any experience here, please let me know... Dale p.s. there is also an open source project called iText that allows Adobe form manipulation, but I'm not certain it is accessible from AuotIt Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
delfin Posted July 11, 2010 Author Share Posted July 11, 2010 Thanks Dale. Here I face another problem. In the first page itself I have a dropdown with 30 values and it comes under a form with 'no name' (form name is blank) in it. This page comes after a login page and I tried the below code to select a value but nothing happens in application. $oForm1= _IEFormGetObjByName($oIE, "") $oSelect = _IEFormElementGetObjByName ($oForm1, "Lender_ID") _IEFormElementOptionselect ($oSelect, "1000", 1, "byValue") Link to comment Share on other sites More sharing options...
DaleHohm Posted July 14, 2010 Share Posted July 14, 2010 Please read the Remarks in the helpfile for any of the _IE*ByName* functions. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
delfin Posted July 15, 2010 Author Share Posted July 15, 2010 Thanks Dale, I solved using 'By index'. I couldnt make it through 'By name' Link to comment Share on other sites More sharing options...
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