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.
next line "\n" is not working on string with latest Firefox browser
Hi, Next line character "\n" is not working with latest Firefox browser. I tried with sahi-v44 also. It working perfectly on Firefox 10.x
Issue on,
Browser : Firefox 17.x
OS: RHEL 64 bit
JAVA: JDK 1.7
Issue on,
Browser : Firefox 17.x
OS: RHEL 64 bit
JAVA: JDK 1.7
Answers
this.textarea(id).setValue("abc \n bcd");
The following code works for me with Sahi v4.4 and Firefox 17.0
browser.navigateTo("http://sahi.co.in/demo/formTest.htm"
browser.textarea("ta1").setValue("abc\ndef");
why are you using "this.textarea()"? Have you extended the Browser class?
Thank you for your response. I tried with Sahi (Build: 2013-04-29) but it's failed for me. I'm facing the same issue.
Browser: Firefox ESR 17.0.6
OS: Red Hat Enterprise Linux Server [Release: 6.4 (Santiago), Kernel: 2.6.32-276.el6.x86_64, GNOME 2.28.2]
Yes, we have extended Browser class.
Please send us a screenshot of what you see.
Regards.
Screenshot is on http://imgur.com/OwM712z