Page 1 of 1

How to configure the JSCoverage for web site

Posted: 2009-09-04 7:39 am
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

Re: How to configure the JSCoverage for web site

Posted: 2009-09-04 3:16 pm
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.