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.

I am not able to update excel using sahi 6.0

Hi Team,

I have today installed Sahi Pro 6.0 and tried to re execute my old scripts which I had in Sahi Pro 5.1.2, Everything is working fine except updating an spreadsheet. I am using below steps:
var $path = "C:\\Excel.xlsx"
var $excel = _getExcel($path,"Sheet1");
$excel.set(2,3,"New");

It is working fine for 1st time when we execute but on next execution it is just hanged script is neither passing nor failing.
I think I should close and release excel connection at the end. Can someone provide me the steps to do that.

also I am getting below message in console:
Exception in thread "Thread-1631" java.util.concurrent.RejectedExecutionExceptio
n: Task java.util.concurrent.FutureTask@7bb77837 rejected from java.util.concurr
ent.ThreadPoolExecutor@4a35a255[Terminated, pool size = 0, active threads = 0, q
ueued tasks = 0, completed tasks = 0]

Answers

  • Hi patniminal,

    Try after refreshing web the page. I was facing the same problem which was solved by refresh in my case.
  • Hi patniminal,

    Try after refreshing web the page. I was facing the same problem which was solved by refresh in my case.
Sign In or Register to comment.