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.
error in concat.js?
Hi,
I'm working with dynamically created links for rolling current and last couple fridays for reports. I had things working for clicking the links via _under() function, however, in the case that the verbiage changes that I'm using to find the links, I've added id's to the links.
In trying to use link id's, however, I've come across an error:
_click(_link("twofriago")));
SyntaxError: missing ; before statement
eval("_sahi._click(_sahi._link(\"twofriago\")));")@:0
http://gbags.com/_s_/spr/concat.js:3016
http://gbags.com/_s_/spr/concat.js:2822
Do I possibly have an old version or is this a current error?
Thanks,
Glenn
I'm working with dynamically created links for rolling current and last couple fridays for reports. I had things working for clicking the links via _under() function, however, in the case that the verbiage changes that I'm using to find the links, I've added id's to the links.
In trying to use link id's, however, I've come across an error:
_click(_link("twofriago")));
SyntaxError: missing ; before statement
eval("_sahi._click(_sahi._link(\"twofriago\")));")@:0
http://gbags.com/_s_/spr/concat.js:3016
http://gbags.com/_s_/spr/concat.js:2822
Do I possibly have an old version or is this a current error?
Thanks,
Glenn
This discussion has been closed.
Comments
I think you have too many closing parentheses (")").
It should work if you change it to read:
_click(_link("twofriago"));
cheers
Thomas
OMG! Indeed I do! Guess the caffeine hadn't kicked in yet
Thanks for the catch. Works now