war
Posted: 2008-04-14 11:38 am
Hi All,
i want to know whether we can find out the code coverage for java script when the application is running in the server.. suppose i have a java script in the war file and deploy that war into some server and run the url .. as i click on the javascript actions ...how can i get those actions in coverage....
i have created two folders as you said and instrumented my sample.js and i have copied that instrumented sample.js into my war file and deployed that into jboss and i have opened jscoverage.html and placed that url(http://localhost:8282/example/samplepage.xhtml) and now when i try to click on the javascript actions i was not able to click on that ...browser is showin the following error (_$jscoverage. sample .js is null or not an object ) but when i run that url normally it works fine... can you help me if i have done something wrong ..or can you tell me whether the coverage for java script in the war file can be measured or not..
Thanks
i want to know whether we can find out the code coverage for java script when the application is running in the server.. suppose i have a java script in the war file and deploy that war into some server and run the url .. as i click on the javascript actions ...how can i get those actions in coverage....
i have created two folders as you said and instrumented my sample.js and i have copied that instrumented sample.js into my war file and deployed that into jboss and i have opened jscoverage.html and placed that url(http://localhost:8282/example/samplepage.xhtml) and now when i try to click on the javascript actions i was not able to click on that ...browser is showin the following error (_$jscoverage. sample .js is null or not an object ) but when i run that url normally it works fine... can you help me if i have done something wrong ..or can you tell me whether the coverage for java script in the war file can be measured or not..
Thanks