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.
Problems using frames that use "<base target="body>"
I have menu page that uses the ""<base target="body>" in the page head,
instead of giving the "target="body" in each <a href> link.
This works find in all the browsers.
<html>
<head> <base target="body"> </head>
<body>
<h5> <a href"item1.html"> Item 1 </a> </h5>
<h5> <a href"item2.html"> Item 2 </a> </h5>
</body> </html>
But the click(in sahi) is loading the target page in the same frame as the "menu", rather than the "body" frame. its not looking at the "head target" info for this.
It works fine when I give the "target tag" at each href. But its not feasible for me to make this change as the code is freezed.
Is this something known. How do we get around this problem.
I am using sahi_20091023
and IE 6.0
Thanks
Vijay
instead of giving the "target="body" in each <a href> link.
This works find in all the browsers.
<html>
<head> <base target="body"> </head>
<body>
<h5> <a href"item1.html"> Item 1 </a> </h5>
<h5> <a href"item2.html"> Item 2 </a> </h5>
</body> </html>
But the click(in sahi) is loading the target page in the same frame as the "menu", rather than the "body" frame. its not looking at the "head target" info for this.
It works fine when I give the "target tag" at each href. But its not feasible for me to make this change as the code is freezed.
Is this something known. How do we get around this problem.
I am using sahi_20091023
and IE 6.0
Thanks
Vijay
Tagged:
Comments
Looks like a bug in Sahi. We will fix this and get you a release asap.
Regards,
Narayan
Will be waiting for the fix.
Thanks
Vijay