emanemos Posted December 18, 2012 Share Posted December 18, 2012 Hello, I want to click on a button : <button id="launchTestButton" class="buttonOn" type="button" onclick="launchTest()"> Lancer le test sélectionné </button> How can I do? Could U help me ? Link to comment Share on other sites More sharing options...
water Posted December 18, 2012 Share Posted December 18, 2012 (edited) Welcome to AutoIt and the forum! Do you use the Internet Explorer as browser? Edited December 18, 2012 by water My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
emanemos Posted December 18, 2012 Author Share Posted December 18, 2012 Yes. I use IE. Link to comment Share on other sites More sharing options...
water Posted December 18, 2012 Share Posted December 18, 2012 Then please have a look at the IE UDF which comes with AutoIt. Function _IEGetObjByID and _IEAction should do what you need. The help file has some useful examples. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
emanemos Posted December 19, 2012 Author Share Posted December 19, 2012 Thanks : it's OK.Now, I want to click on a icon : TVNUM<div id="clientParams2"> <!-- <h2><img class="serviceIcon" src="/orchestra/images/icons/2.png"/>TVNUM</h2> -->An idea, please ? Link to comment Share on other sites More sharing options...
water Posted December 19, 2012 Share Posted December 19, 2012 _IEImgClick? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
emanemos Posted December 19, 2012 Author Share Posted December 19, 2012 I think so, but with which parameter, according to the code? Link to comment Share on other sites More sharing options...
water Posted December 19, 2012 Share Posted December 19, 2012 What have you tried so far? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
PowerCat Posted December 19, 2012 Share Posted December 19, 2012 Hi emanemos,You'll find that you'll get more help if you post some code that you started doing.The general "policy" of this forum is not to write scripts for people, but help them learn how to write the scripts.Start trying to do what you need and ask more specific questions.When water is telling you "_IEImgClick", he means go read that function in the help file, try some things and see if you can figure it out! Link to comment Share on other sites More sharing options...
emanemos Posted December 20, 2012 Author Share Posted December 20, 2012 I got it : _IEImgClick($oIE, "http://images/menus/service-text2.gif","src") Thanks 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