Sign in to follow this  
Followers 0
Bundi

Can't click on link in Internet Explorer (AutoIt rookie)

4 posts in this topic

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
 

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

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". 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0