How to configure the JSCoverage for web site

Questions, problems, suggestions, bug reports, and so on.
Post Reply
senthil_mca80

How to configure the JSCoverage for web site

Post by senthil_mca80 »

Hi,

Our application hosted on http://server:9080/application

we are accessing this application from our machine and run the test script to test the application. my question is how can i track the java script coverage for each page while the test script running?

if its possible, please tell me how to configure the js coverage...

Thanks in Advance,

Senthil
Ed
Posts: 120
Joined: 2008-10-11 6:52 pm

Re: How to configure the JSCoverage for web site

Post by Ed »

If your tests need to access an existing HTTP server, you probably need to use jscoverage-server with the --proxy option. You would run

Code: Select all

jscoverage-server --verbose --proxy
Set up your web browser to use the proxy, then access the following URL:

Code: Select all

http://server:9080/jscoverage.html?application
See the JSCoverage manual for details.
Post Reply