Debbie Posted October 11, 2009 Share Posted October 11, 2009 Hi I am looking for a good way to drive my firefox. I would like to automatically feed a web application from data I own in files. First at all, I used _FF.au3 in addition to MozRepl but it seems that some bugs remain with input type="file". I was unable to find a workaround. So I tried to add the Mouseless module to my firefox. It works quite fine from the keyboard, but any attempt to send the same sequence from autoit failed Moreover Mouseless does not detect all the interactors. Does anyone experience successfully another way he can share with me ? Thanks for any clue ! Debbie (Sorry if there is some mistakes in this post, english in not my mother tongue language) Link to comment Share on other sites More sharing options...
Bowmore Posted October 11, 2009 Share Posted October 11, 2009 HiI am looking for a good way to drive my firefox. I would like to automatically feed a web application from data I own in files.First at all, I used _FF.au3 in addition to MozRepl but it seems that some bugs remain with input type="file". I was unable to find a workaround.So I tried to add the Mouseless module to my firefox. It works quite fine from the keyboard, but any attempt to send the same sequence from autoit failed Moreover Mouseless does not detect all the interactors.Does anyone experience successfully another way he can share with me ?Thanks for any clue !Debbie(Sorry if there is some mistakes in this post, english in not my mother tongue language)Have you seen this Explanation post form Dale as to why it is no longer possible to type into this type of input box and a possible work around. "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook Link to comment Share on other sites More sharing options...
Debbie Posted October 12, 2009 Author Share Posted October 12, 2009 (edited) Have you seen this Explanation post form Dale as to why it is no longer possible to type into this type of input box and a possible work around.HiThanks, I hadn't found the post of Dale before.So noway to fill the input type :-(But, it is perfectly ok to me to drive the selection box, as explained in :http://www.autoitscript.com/forum/index.php?showtopic=92907&st=0&gopid=731594&#entry731594Is there the equivalent function of _IEGetObjByName and _IEAction for firefox ?Thanks Debbie(Sorry if there is some mistakes in this post, english in not my mother tongue language) Edited October 12, 2009 by Debbie Link to comment Share on other sites More sharing options...
Stilgar Posted October 13, 2009 Share Posted October 13, 2009 (edited) Hi Thanks, I hadn't found the post of Dale before. So noway to fill the input type :-( But, it is perfectly ok to me to drive the selection box, as explained in : http://www.autoitscript.com/forum/index.php?showtopic=92907&st=0&gopid=731594&#entry731594 Is there the equivalent function of _IEGetObjByName and _IEAction for firefox ? Thanks Debbie (Sorry if there is some mistakes in this post, english in not my mother tongue language) Sorry I don't see your PM. You can do the following: #include <FF.au3> _FFConnect() _FFXpath("//div[@class='margin-form' and position()=5]/input", "value='c:\\test'", 9) The equivalent function in FF.au3 for _IEGetObjByName AND _IEAction is: _FFClick(....) Edited October 13, 2009 by Stilgar jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Debbie Posted October 13, 2009 Author Share Posted October 13, 2009 Hi Sorry I don't see your PM. You can do the following: #include <FF.au3> _FFConnect() _FFXpath("//div[@class='margin-form' and position()=5]/input", "value='c:\\test'", 9) Well, I have problem with FFXPath. It seems that in some cases, it does not work. http://www.autoitscript.com/forum/index.php?showtopic=103130&st=0&p=733224&hl=debbie&fromsearch=1&#entry733224 The equivalent function in FF.au3 for _IEGetObjByName AND _IEAction is: _FFClick(....) Thanks, I will check with FFClick best regards Debbie Link to comment Share on other sites More sharing options...
Stilgar Posted October 13, 2009 Share Posted October 13, 2009 HiWell, I have problem with FFXPath. It seems that in some cases, it does not work.http://www.autoitscript.com/forum/index.php?showtopic=103130&st=0&p=733224&hl=debbie&fromsearch=1&#entry733224Thanks, I will check with FFClickbest regardsDebbieYes I know, but doesn't work it only on that site? I never have any problems with xpath. jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Debbie Posted October 13, 2009 Author Share Posted October 13, 2009 HiYes I know, but doesn't work it only on that site? I never have any problems with xpath.It is the first time I use xpath or drive a web application, so I can not tell if this is the case only on this site.I tested on simple web pages, just to be sure that my code were correct, it worked on this small pages.This is why I am trying a workaround...Debbie 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