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.

what is the exact syntax to be used for _hidden api?

keatskeats Members
edited November -1 in Sahi - Open Source
In release notes it shows this,
_hidden(identifier [, domRelation]) added

I am trying to retrieve the hidden value.
It works when i use record tab and use test button but not in the script.
I used,
var $ASPId=_hidden("aspid").value; - did not work so i used var $ASPId=_hidden(0,"aspid").value;

for both the above syntax the logs shows me following error,
_debug(_hidden(0, "aspid").value);
TypeError: _sahi._hidden is not a function
http://sol4.eldocomp.com:8705/_s_/spr/concat.js:2382
http://sol4.eldocomp.com:8705/_s_/spr/concat.js:2382
http://sol4.eldocomp.com:8705/_s_/spr/concat.js:2263
Click for browser script [object Object] at Sep 8, 2009 10:23:57 AM
Sign In or Register to comment.