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.
Is it possible to export an Sahi script (.sah ) to .java file.
As a tester i am not having knowledge in JAVA ,am able to write,record and play back sahi script.
As in Selenium if a application is recorded and played back the generated script can be easily converted or exported as C# ,ruby,Java etc ,is there any possibility of the same here in SAHI.
As in Selenium if a application is recorded and played back the generated script can be easily converted or exported as C# ,ruby,Java etc ,is there any possibility of the same here in SAHI.
This discussion has been closed.
Comments
Yes,this is how it works.
The java controller does not have save to file option but you can copy the recorded lines and paste it into your java file.
You can now run this java file.
For more Details:
http://sahi.co.in/w/java
Regards
Sumitra
and the sample_java_project in your sahi installation...
my guess... the example on http://sahi.co.in/w/java has a main function, so command line " java yourTest.java" should run everything.