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.
Updating value back to Excel
Hi,
Wanted to update values to an excel during the running of the sahi script. Read in help file that updates to excel are possible just like selects.
Need help with a sample update code that can be run on the excel.Something like this.
Update [$Sheet1]
set Column2='RequiredValue'
where Column1 = 'FilterValue'
Regards
Asha
Wanted to update values to an excel during the running of the sahi script. Read in help file that updates to excel are possible just like selects.
Need help with a sample update code that can be run on the excel.Something like this.
Update [$Sheet1]
set Column2='RequiredValue'
where Column1 = 'FilterValue'
Regards
Asha
Comments
If you are using the jdbc:odbc driver, make sure you add readOnly=false at the end of the connection string.
For example:
Given a excel sheet "D:\\testbed\\sahi_sample2.xls", with the following data: Note the readOnly=false in the connection string on the first line.
Regards,
Narayan
I am trying something like this...
$procdata = $proc.update("delete from [Sheet1$]");
with readOnly = false
But this doesnt seem to be working.
Regards
Asha