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.
How to Reading Data From Excel Sheet ?
Will you please tell me how to read data from Excel Sheet ?
Best Answers
-
Hi,
Please refer this link to work with excel.
http://sahi.co.in/w/working-with-excel-sheets
Regards,
Pratik Shah -
-
Hi Chaitanya,
hope the below code will help u
_setFile(_file("SourceFileUpload"), "C:/file.txt"); // Change the "type" attribute of file field if (_isIE()){ _call(_file("SourceFileUpload").outerHTML = _file("SourceFileUpload").outerHTML.replace(/type=file/, "type=text")); }else{ _call(_file("SourceFileUpload").type = "text"); } // Set the value into the textbox _setValue(_textbox("SourceFileUpload"), "C:/file.txt");

Answers