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.
Code coverage using SAHI
Hi,
I am using SAHI for test automation of a GWT based web application.
Can you please tell me if I can generate a code coverage report for my client side code (js) ?
I am using SAHI for test automation of a GWT based web application.
Can you please tell me if I can generate a code coverage report for my client side code (js) ?
Comments
We are using GWT in our web application. The client side is java code cross compiled to java script. We use SAHI for the automation of the application. We would like to know if it is possible to get a coverage report i.e how many js functions are actually called and how many times.
GWT provides a compiler flag (pretty) using which we can trace back the js functions to the actual java methods.
If you need more details, please let me know.
Thanks,
Vikram