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.
Element property is recorded differently in ie6 and FF
When recorded in FF, an element properly is recorded as
_click(_div("ContactInformation"));
The script was failing when i ran the test in ie6. When i checked i found in ie6 it records the same element properly as
_click(_div("Contact Information")); //inserted a space between the two words. In website both the words are in two lines of the label
I'm not able to run the test recorded using FF in ie6 because of this. In FF it is running properly. Please let me know how can i handle this situation.
Thanks & Regards,
Anoop
_click(_div("ContactInformation"));
The script was failing when i ran the test in ie6. When i checked i found in ie6 it records the same element properly as
_click(_div("Contact Information")); //inserted a space between the two words. In website both the words are in two lines of the label
I'm not able to run the test recorded using FF in ie6 because of this. In FF it is running properly. Please let me know how can i handle this situation.
Thanks & Regards,
Anoop
This discussion has been closed.
Comments
This happens in a particular case where the actual HTML is like this:
Is that your case?
While we get you a fix for this, please confirm that the html has a br tag in it as given above?
Regards,
Narayan
Yes, it has. It is like this.
var dheading =["Personal<br>Information","Contact<br>Information","Work<br>Information","Others"]
Regards,
Anoop
Open sahi/htdocs/spr/concat.js
Look for:
and replace it with:
Restart Sahi, clear browser cache and check.
Please let us know if this works for you.
We will add this in our coming build.
Regards,
Narayan
It is working fine now.
It is recording the script now as
_click(_div("Contact Information"));
running properly in both ff and ie6.
Thank you!
Regards,
Anoop