Bundi Posted October 24, 2013 Share Posted October 24, 2013 Hi, I have been using AutoIt for a few days now, and I am trying to login to a webpage and from there click on a tab. I have been trying all possible things that I have found in the help-files and also things found in this forum, but non of them have worked for me. The things I have tried to use for accomplishing click the tab in question is both "_IELinkClickByText" and also _IEAction($oSubmit, "click") Using code that I found here on the forum I managed to open the web-page and also to login on the page. But from there on to click on the needed tab that is named MyUnit I haven't found any solution too. The html regarding the tab is here: <td class="x7b" background="/OA_HTML/cabo/images/swan/subDimTabBg.gif" style="background-image:url(/OA_HTML/cabo/images/swan/subDimTabBg.gif);"> <a id="MyUnit" accesskey="." href="#" onclick="submitForm('DefaultFormName',1,{'serverValidate':'1','_oldStyleSubtabClick':'true','_OA_SUB_TAB_INDEX':'1','serverValidate':'1',event:'update',source:'MyUnit'});return false;" title="My Unit" name="MyUnit">My Unit</a> </td> Any input / suggestions on how to accomplish this I would be very thankful for. Best, Bundi Link to comment Share on other sites More sharing options...
Danp2 Posted October 24, 2013 Share Posted October 24, 2013 What was the outcome of your prior testing? Post the results from the Scite output window here for review. Also, have you tried using _IEGetObjById with an ID of MyUnit? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Bundi Posted October 25, 2013 Author Share Posted October 25, 2013 Thanks for your suggestion, I will look into that one. I have tried to use _IELinkClickByText on the page in question on some other links too, but neither that seems to work. So I think I will need to review the whole approach of accomplishing this "clicking business". Link to comment Share on other sites More sharing options...
jdelaney Posted October 25, 2013 Share Posted October 25, 2013 Post your code, so it can be corrected. 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. 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