Not able to use ClickTag

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
pneves
Newbie
Posts: 19
Joined: Mon Jan 25, 2010 10:59 am

Not able to use ClickTag

Post by pneves » Mon Jan 25, 2010 11:13 am

Good morning,

I am trying to automate the login into this web site:
https://www.bpinetempresas.pt/SIGNON/signon.asp

But I am not able to get the Click Tag to work on the "Acesso" button.

Code: Select all

<TABLE>
<TBODY>
  <TR>
    <TD><SPAN>Acesso</SPAN> 
    </TD>
   </TR>
</TBODY>
</TABLE>
I have tried the following:

Code: Select all

  Let>FrameName={""}
  Let>FormName={"SignOn"}
  Let>TagValue={"btSignOn"}
  LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,TABLE,ID,str:TagValue

And

  IE_ClickTag>%IE[0]%,,SignOn,SPAN,TEXT,Acesso,r
Nothing seems to work.
I would apreciate any help

Thanks,

Pedro

P.S.
I am using: 10.1.21 and webrecorder 2.2/2.06

pneves
Newbie
Posts: 19
Joined: Mon Jan 25, 2010 10:59 am

Post by pneves » Mon Jan 25, 2010 11:28 am

I know that by using "Press Enter" it works.
But I would like to understand why is not working with IE_ClickTag.

Pedro

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Jan 25, 2010 4:36 pm

There's some very complicated javascript on this page. The SPAN tag has no name, ID or OnClick action, so that's probably why ClickTag does nothing. The table that contains it has a bunch of attributes which probably affect some javascript function that is being called when the span is being clicked. There are at least a dozen different .js files. It would take some time to pull this apart and find out what the page is doing.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts