18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Click on abbr
Hi
I am trying to click on an abbr , sahi identifies this as _div("AAAA");
<div class="widthEnforcer" style="position: relative; width: 200px;">
<abbr title="my titile" style="position: relative; cursor: pointer;">AAAA</abbr>
<img class="animg" src="images/r/xx.png" title="View this">
</div>
how can I make it work?
thanks
Environment: Windows XP, IE8, Sahi build(2011-05-25)
I am trying to click on an abbr , sahi identifies this as _div("AAAA");
<div class="widthEnforcer" style="position: relative; width: 200px;">
<abbr title="my titile" style="position: relative; cursor: pointer;">AAAA</abbr>
<img class="animg" src="images/r/xx.png" title="View this">
</div>
how can I make it work?
thanks
Environment: Windows XP, IE8, Sahi build(2011-05-25)
This discussion has been closed.
Comments
In sahi/htdocs/spr/concat.js
after the line with
this.addAD({tag: "CANVAS", type: null, event:"click", name: "_canvas", attributes: ["sahiText", "id", "className", "index"], action: "_click", value: "sahiText"});
add
this.addAD({tag: "ABBR", type: null, event:"click", name: "_abbr", attributes: ["encaps_A", "sahiText", "id", "className", "index"], action: "_click", value: "sahiText"});
and add
_abbr
to sahi/config/normal_functions.txt (in a line by itself)
Restart Sahi, and Sahi will recognize the abbr tag.
We seem to have missed this tag. This will be automatically available in the next version.
Regards,
Narayan