-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to find the Code coverage of a web application hosted by IIS server through JScover #174
Comments
There are two basic techniques:
The first option can be more reliable and will work over SSL (JSCover can't proxy SSL requests). There is an example of the basic technique here in the examples. |
Hi Team, I have followed the first option suggested by you.I am listing the steps which i followed to instrument java script code.
As per my understanding, JSCover work with instrumented file so i replaced the Build Folder(Original .JS files) content with the generated instrumented file. Since the web application runs the java scripts inside build folder so if i am putting the instrumented file instead of actual java script files, My Web application is only not launching. |
It looks like you're using an old version (0.2.3). The latest is 1.0.16 |
Hello Team... Please see the steps which i am performing for JScoverage server file mode. Please suggest if i am doing something wrong. 1)My web page is served by IIS server as "https://localhost" and all js files are residing at location c:\inetpub\wwwroot after installing the application Setup. 2)By usiing JScover file server method if i take all jScode(code inside thsese folder--c:\inetpub\wwwroot) and instrument it to some other loaction(Say Jscover Folder structuctre as per your example) and try launching my web page "https://localhost" the web page is opening but there is no coverage shown.
Please guide me if i am making anything wrong here. I tried using Proxy method but it doesnot work:( |
Hello Team... Please see the steps which i am performing for JScoverage server file mode. Please suggest if i am doing something wrong. 1)My web page is served by IIS server as "https://localhost" and all js files are residing at location c:\inetpub\wwwroot after installing the application Setup. 2)By usiing JScover file server method if i take all jScode(code inside thsese folder--c:\inetpub\wwwroot) and instrument it to some other loaction(Say Jscover Folder structuctre as per your example) and try launching my web page "https://localhost" the web page is opening but there is no coverage shown.
Please guide me if i am making anything wrong here. I tried using Proxy method but it doesnot work:( |
That's correct.
Can you check the following:
Not currently. |
Hi All,
I have to get the coverage of devlopment code(Java script) through our UI automated scripts written in c# (Selenium WebDriver) for an web application hosted via an IIS server.
Can you please guide me in this regards.
The text was updated successfully, but these errors were encountered: