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.
To write functions in Java
Hello,
I am recording script in java can any one help me, how to write a function in java....
Thanks & Regards,
Bhaswanth.N
I am recording script in java can any one help me, how to write a function in java....
Thanks & Regards,
Bhaswanth.N
Comments
Public void namefunction (parameter)
{
/ / here you can copy the code that generates sahi
}
the parameters should be give in ${parameter} or the normal parametrs and one more thing i would like to ask is how to perform data driven testing through CSV file
Use regular java syntax. When using the Java driver, all you get from Sahi is the ability to drive the browser. You will have to use your own/other libraries to accomplish file reading, reporting etc.
Regards
Sumitra
For detailed information on Data driven testing,
Refer this URL,
http://sahi.co.in/w/data-driven-testing
Thanks,
Venky.