Hi,
I have tried the same to you and also got the same error.
So I tried other way. I didn't use Evaluate JS and in the step where I click on the gridcell, I use:
evalXPath("//a[text()=\""+ArgsContext.LR.getParam("test")+"\"]");
It works for me.
I refered from this link: http://support.openview.hp.com/selfsolve/document/KM1110051
Regards,
Chau Nguyen