18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

how to record image-map with clickable ares

edited November -1 in Sahi - Open Source
Hi,

If there is an image with different clickable areas,how we can record that event.
For example in http://icicibank.com,page Login image is there with different clickable areas like
personal,corporate,money2india etc.The sourse code for this part is found out to be like this:

<map name="Map1">
<area shape="rect" coords="11,190,164,203" href="http://icicibank.com/Pfsuser/forgot_pass.html"; target="_blank" alt="">
<area shape="rect" coords="47,170,117,183" href="http://icicibank.com/Pfsuser/forgot_userid.html"; target="_blank" alt="">
<area shape="rect" coords="63,23,114,37" href="https://infinity.icicibank.co.in/Login.jsp"; alt="ICICI Bank Personal Banking" onclick="dcsMultiTrack('DCS.DCSSIP','/image.jpeg','WT.ac','personal login on home page');">
<area shape="rect" coords="58,52,115,67" href="https://cib.icicibank.com/corp/BANKAWAY?Action.CorpUser.Init.001=Y&AppSignonBankId=ICI&AppType=corporate"; alt="ICICI Bank Corporate Banking" onclick="dcsMultiTrack('DCS.DCSSIP','/image.jpeg','WT.ac','corporate login on home page');">
<area shape="rect" coords="50,81,121,97" href="https://m2inet.icicibank.co.in/m2iNet/m2iNetLoginForm.jsp"; alt="Money Transfer" onclick="dcsMultiTrack('DCS.DCSSIP','/image.jpeg','WT.ac','moneytoindia login on home page');">
<area shape="rect" coords="48,109,123,125" href="https://infinity.icicibank.co.in/BANKAWAY?Action.Kidebank.Init=Y&AppSignonBankId=ICI&AppType=kidebank"; alt="Young Star Account" onclick="dcsMultiTrack('DCS.DCSSIP','/image.jpeg','WT.ac','youngstars login on home page');">
<area shape="rect" coords="26,137,147,153" href="http://www.b2.icicibank.com/"; alt="b2 branchfree banking" onclick="dcsMultiTrack('DCS.DCSSIP','/image.jpeg','WT.ac','b2 login on home page');">
</map>

I am not able to record the clicking action of any of this clickable area.
How to solve this??
tnx

Comments

  • If the above description of scenario is complex to understand I will simplify it like this:

    There is an image with different clickable ares like "sun","mercury", and "venus".
    How to record the clicking action of "Sun"?
    <img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap" />

    <map name="planetmap">
    <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun" />
    <area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury" />
    <area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus" />
    </map>
  • Did anybody find any solution for this??
Sign In or Register to comment.