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.
JSERROR TypeError Cannot find Function _getText
Hello Team,
I am new to SAHI. Today I have created the following script:
....some code
var $test123;
$test123 = _getText(_byId("element id"));
...some code
when I am using the _getText function, It gives me the following error:
JSERROR TypeError Cannot find function _getText at Feb 5, 2009 12:46:41 PM
Please guide me what to do? Is this any configuration related issue or what?
I am new to SAHI. Today I have created the following script:
....some code
var $test123;
$test123 = _getText(_byId("element id"));
...some code
when I am using the _getText function, It gives me the following error:
JSERROR TypeError Cannot find function _getText at Feb 5, 2009 12:46:41 PM
Please guide me what to do? Is this any configuration related issue or what?
Comments
I cant figure out any mistakes in the script except a missing semi-colon after the variable declaration.(the first line var $test123).
Any more information on the error?
Regards,
Pankaj .
$test123 = _getText(_byId("ctl00\_Main\_ContentPlaceHolder1\_ucPartyType\_tbPartyTypeName"));
should be
_set($test123, _getText(_byId("ctl00\_Main\_ContentPlaceHolder1\_ucPartyType\_tbPartyTypeName"));