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.
Got errror during running Script error. (:)
I got following error during playback.
Script error. (:)
_click(_submit("Search"));
_click(_div("Please enter Keyword or City and State"));
--Stopped Playback: SUCCESS--
Thanks & Regards,
NV
Script error. (:)
_click(_submit("Search"));
_click(_div("Please enter Keyword or City and State"));
--Stopped Playback: SUCCESS--
Thanks & Regards,
NV
Comments
Anybody please help me..
I got one more problem.. I recorded script using google chrome and tried to play in IE9. I got following errors during playback.. Would anyone please help me.. I got stuck..
Syntax error (rjdinternational.com/piwik/piwik.js:1)
_setValue(_textbox("ctl00\$CenterRightPlaceHolder\$ucSearch\$txtJobTitle"), "dental");
_click(_submit("Search"));
Syntax error (rjdinternational.com/piwik/piwik.js:1)
_assertExists(_link("Dental Assistant[1]"));
_click(_link("View Detail[1]"));
Regards,
Fion
while code fails
uncomment half the code
let it run
ok? uncomment half the commented : comment half the uncommented
until you find the line that fails)
or increment trace it ( let run a line, when it works uncomment the next line etc)
got it?
This error is coming from your web application and not from Sahi.
When Sahi encounters any JS errors on a page, it logs it into the playback logs, but continues execution. This error would be in an orange color instead of red, and will not fail the script.
Check if you get a JS error when navigating the website on a normal browser (you may need to look at the developer tool's error console of your browser)
Regards,
Narayan
Thanks for prompt reply.
You are right there is some error on webpage, when check with development tool it shows some error for the page. But I wondor why it would apper while running and also in Report..
One more think I would like to ask regarding following query. It would be great if you reply me ASAP.
=>> I recorded script using google chrome and tried to play in IE9. I got following errors during playback and script is not playback properly (Same scritp works fine in google chorme)..
Syntax error (rjdinternational.com/piwik/piwik.js:1)
_setValue(_textbox("ctl00\$CenterRightPlaceHolder\$ucSearch\$txtJobTitle"), "dental");
_click(_submit("Search"));
Syntax error (rjdinternational.com/piwik/piwik.js:1)
_assertExists(_link("Dental Assistant[1]"));
_click(_link("View Detail[1]"));
Thanks & Regards,
NV