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 retrieve results from sahi results page
Hi..I'm new to Sahi. I want to retrieve results from sahi results page and I need to import them into another external file(eg: to wordpad)
How can we write script for this query, please answer this as soon as possible.
Thank you,
Hani
How can we write script for this query, please answer this as soon as possible.
Thank you,
Hani
Comments
I am not sure what exactly you want to have in that external file. If you want log's only in that file. I would prefer to edit _log API of sahi .
I will just add one more line in that API's function to write same log in that file also using simple _writeTo Api with path of your word or txt file.
we will be having 'view Logs', from here I have to retrieve those results.
Ex: go to 'view logs' - 'aboutus__16Nov2011__17_16_59.htm', upon clicking on it we can get
Test Total Steps Failures Errors Success Rate Time Taken (ms)
aboutus.sah 2 0 1 50% 20395
Now I need to retrieve this total result information and have to export to CSV file.
Could you give me script for this..?
Thanks
Hani