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.
Sahi Pro 6.1.0 No longer doing onScriptError (Including Taking Screenshots)
Hi
I have just upgraded one of our machines to the latest version of Sahi Pro, when an error is found, its no longer calling the function OnScriptError()
How can I implement this back in the new version? The Take Screenshots functionality speeds up the process when an Error or failure is found.
Can someone please let me know of the best course of action.
Thanks
Hayley
I have just upgraded one of our machines to the latest version of Sahi Pro, when an error is found, its no longer calling the function OnScriptError()
How can I implement this back in the new version? The Take Screenshots functionality speeds up the process when an Error or failure is found.
Can someone please let me know of the best course of action.
Thanks
Hayley
Answers
Just to update on this, It would seem it was something to do with my installation, as once I uninstalled and tried again, this issue went away.
Cheers
Hayley
I use Sahi Pro Starter (7.0.1) and I'd like to take screenshots when errors occur.
I saw many posts advising to use the "OnScriptError" function of global_include.sah script, but I can't find it in my Sahi filesystem. Is this file only included in the Pro version (along with the "OnScriptError" functionality ?)
Does someboby know a way to trigger screenshots in case of errors or failures?
I'm quite new to Sahi and not sure what my options are...
Many thanks
Sonia
Sahi Pro Starter doesn't have the complete features. Please refer the features included in Sahi Pro Starter.
http://sahipro.com/docs/introduction/index.html#Sahi Pro Starter
Here are a few resources to get started with Sahi Pro.
A Quick Tutorial on Sahi Pro: http://sahipro.com/docs/using-sahi/quick-tutorial.html
An online demo: http://www.youtube.com/watch?v=WDtQSJR_Ca0
Sahi Pro documentation: http://sahipro.com/docs/
You can get the full version for one month trial from the link below.
https://crm.sahipro.com/pay/index.php/registration/register
Hope this helps.