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.

cannot click shape tag on IE

yxchuyxchu Members
edited November -1 in Sahi - Open Source
Hi

We are using Sahi to assert some Highcharts function. And on IE, Highcharts is using VML to rendering the chart. So we are trying to use Sahi to click a shape tag, by clicking it we try to redirect to a different URL, but Sahi just stay on the chart, I think the click function is not working on shape tag.

What we are trying to do is like:
browser.fetch("$$('.highcharts-tracker').first().childNodes[0].setAttribute('id', 'chart_1')");
browser.byId("chart_1").click();

and the HTML looks like
<DIV class="highcharts-tracker">
<shape style="Z-INDEX: 1; LEFT: 0px; VISIBILITY: visible; WIDTH: 10px; CURSOR: pointer; POSITION: absolute; TOP: 0px; HEIGHT: 10px">
<fill></fill>
</shape>
<shape style="Z-INDEX: 1; LEFT: 0px; VISIBILITY: visible; WIDTH: 10px; CURSOR: pointer; POSITION: absolute; TOP: 0px; HEIGHT: 10px">
<fill></fill>
</shape>
</DIV>

Can you help us on this?
Sign In or Register to comment.