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.
How to Create Custom Functions
Hi All,
I have automated too many test cases with this tool and quite confortable with it. I have several lines of code which are common in many of my scripts. I need to create functions for these lines of code which i can call from my scripts with parameters passed to them and values are returned from them which I can use without any hassle i.e. i need customized functions as per my usage. But I dont know how to create and use it.
If anybody of you know this, please help me.
Thanks.
Regards,
Ashvin.
I have automated too many test cases with this tool and quite confortable with it. I have several lines of code which are common in many of my scripts. I need to create functions for these lines of code which i can call from my scripts with parameters passed to them and values are returned from them which I can use without any hassle i.e. i need customized functions as per my usage. But I dont know how to create and use it.
If anybody of you know this, please help me.
Thanks.
Regards,
Ashvin.
Comments
Have a look at http://sahi.co.in/w/sahi-scripting-basics