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.

How 2 read text from file and capture a specific text from that file

ootoot Members
edited November -1 in Sahi - Open Source
Hi ,
I want to read text from a file and capture a specific text from that file.
To read a file i used :

var $content = _readFile("D:\\test_work\\input.txt");

Now i want to capture a specific text from this file (input.txt) and write in some other file.
How can i proceed further..
How can i do this using sahi.

Comments

Sign In or Register to comment.