I have a requirement to capture the code coverage of my selenium tests to the amount of source code in the server code (web application source code) covered.
For example, the tests for login functionality should capture the amount of code covered in the web application for the login function.
Else need to know which package or class it has touched in web application code for a scenario done. Eg a login
I couldn't find a suitable solution, although I came to know about the Jacoco code coverage tool and tried some samples with the use of the Jacoco Jenkins plugin, there is no success.
I am not aware of the possibility. Please provide me a suggestion on how to achieve this, Thanks in advance.