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 3.6 trial version does not create reports other than HTML
Hello,
I'm evaluating Sahi Pro 3.6 and I'm trying to use the "DB Report" feature. I've set all the reports.* properties to true in both sahi.properties and userdata.properties. I've created the tables, set the db connection parameters, created a dummy sah script with some actions and some assertions, then I've created a suite calling that script and I've executed it from the command line (with IE8 browser). Now I see only HTML reports in the appropriate folder, no XML or SQL reports, and no data in the DB tables.
I've tried both with H2 and Oracle (putting the oracle jdbc driver in extlib/db folder previously.
Where I'm wrong? How can I look at some logging info trying to guess my fault?
Thank you,
Tatiana
I'm evaluating Sahi Pro 3.6 and I'm trying to use the "DB Report" feature. I've set all the reports.* properties to true in both sahi.properties and userdata.properties. I've created the tables, set the db connection parameters, created a dummy sah script with some actions and some assertions, then I've created a suite calling that script and I've executed it from the command line (with IE8 browser). Now I see only HTML reports in the appropriate folder, no XML or SQL reports, and no data in the DB tables.
I've tried both with H2 and Oracle (putting the oracle jdbc driver in extlib/db folder previously.
Where I'm wrong? How can I look at some logging info trying to guess my fault?
Thank you,
Tatiana
This discussion has been closed.
Comments
How are you executing the DB reports? Kindly post the usage.
Regards
Sumitra
I've tried to do the following:
1. Set to true each of the four "reports.*" configuration options in both sahi.properties and userdata.properties.
2. Executed create_report_tables.sql on the H2 database.
3. Run "Start Sahi Pro" from Windows Programs menù
4. Registered a dummy.sah script in the Sahi Controller and saved it in userdata/scripts folder
5. Created a dummy.suite, calling dummy.sah
6. Executed from the command line: "testrunner.bat ..\scripts\dummy.suite http: //my-app-url ie"
A new folder "dummy_ie__timestamp" has been created under logs/playback, containing only index.htm and dummy_timestamp.htm. There are neither sql nor xml folder under my dummy_ie_timestamp folder. The report tables are empty. Navigating to the URL http: //localhost:9999/_s_/dyn/pro/DBReports I see an empty reports table.
I've tried to switch to the Oracle DB, with the same result.
Thank you,
Tatiana
Execution from the command line should be : drun.bat
The usage of drun is:
drun ..\scripts\dummy.suite http: //my-app-url ie
Let me know if this solves your issue.
Regards
Sumitra
Regards
Tatiana