Ant + Junit + html reports question

Hi,
I am successfully creating reports from my test suite,
however instead of listing all classes in the left frame of the html report of all test classes included in the suite, it shows the suite class name and when I click on it it lists all 250 or so test method results.
I want to be able to click on each test case results and view its methods.
I have seen this before but wondering how to achieve it, is it a speacial element you must use or an attribute or something like that.
here is my code,
<target name="tests" depends="load.im.test.classpath" description="Run tests ant create report">
                    <property name="testinputs.dir" location="C:\johnTemp\testreports"/>
                    <mkdir dir="${TEST_HTML_OUTPUT}"/>
                    <mkdir dir="C:\johnTemp\testreports"/>
                        <junit printsummary="yes"
                               fork="yes"
                               forkmode="perBatch"
                               haltonfailure="no"
                               showoutput="yes">
                          <formatter type="xml" />
                          <classpath path="../bin/classes/"/>
                           <classpath path="../../common/bin/classes"/>
                           <classpath refid="im.test.path"/>
                           <batchtest todir="${TEST_HTML_OUTPUT}">
                                        <fileset dir="${TEST_CLASSES}">
                                            <include name="**/**ManagerTest**.class"/>
                                        </fileset>
                     </batchtest>
                        </junit>
                        <junitreport todir="${TEST_HTML_OUTPUT}">
                          <fileset dir="${TEST_HTML_OUTPUT}">
                            <include name="TEST-*.xml"/>
                          </fileset>
                           <report format="frames" todir="${TEST_HTML_OUTPUT}"/>
                          <report todir="${TEST_HTML_OUTPUT}"/>
                        </junitreport>
                         <jar destfile="${TEST_OUTPUT}/junitResults.jar" basedir="${TEST_HTML_OUTPUT}"/>
    </target>Thanks for any advice?

Hmmm...
I'm getting the same problem with Ant 1.6 installed in /opt/ant. They've changed things in 1.6, but they claim it should work similar...
I'll search the docs.
EDIT: SOLUTION:
I don't know why this was working for me before and isn't now, but I found the solution. junit.jar must be placed in $ANT_HOME/lib because of strange classloader issues. I guess this must be a recent "bug", as it wasn't happening with earlier versions of ant.
I'm using my local build of ant because it's more recent, but I think hapy's build would also work with junit if you plared junit.jar in /usr/lib.
Dusty

Similar Messages

  • Generate HTML report with ANT

    Hello,
    I'm  new to FlexPMD. I have just generated my firsts reports. I try to generate HTML reports.
    I browse the documentation, this forum and the web and I find informations to :
    - generate documentation with Hudson
    - generate documentation with Maven
    - generate documentation with XSLT pmd.xml -> html
    Ok, I try to keep it simple. So I don't want to use Hudson.
    I'm using ANT, and I currently don't want to install/learn Maven.
    I'm using FlexUnit with ANT. And It's really simple to generate reports :
    <junitreport todir="${report.flexunit.loc}">
                <fileset dir="${report.flexunit.loc}">
                    <include name="TEST-*.xml" />
                </fileset>
                <report format="frames" todir="${report.flexunit.loc}/html" />
    </junitreport>
    I'm really new to FlexPMD, so I don't have currently a big knowledge, but it seems impossible to generate a HTML report just like junitreport. (1 line in an ANT task)
    I test the XSLT transformation found on this forum (thread "XSLT pmd.xml -> html"). It's really cool. But it's seems difficult, for example, to extract the wrong code part and add it to the HTML page.
    So, what is the simpler solution to generate HTML report just with FlexPMD/ANT ?
    Thanks !

    Hello,
    Currently you generate a PMD report with ANT  like this :
    <! -- define taskdef  -->
    < taskdef name="pmd"  classname="com.adobe.ac.pmd.ant.FlexPmdAntTask"  classpath="${build.pmd.loc}/flex-pmd-ant-task-${flexpmd.version}.jar">
             < classpath>
                 < path refid="flexpmd.base" />
                 < pathelement  location="${build.pmd.loc}/commons-lang-2.4.jar" />
                 < pathelement  location="${build.pmd.loc}/flex-pmd-core-${flexpmd.version}.jar" />
                 < pathelement  location="${build.pmd.loc}/flex-pmd-ruleset-api-${flexpmd.version}.jar"  />
                 < pathelement  location="${build.pmd.loc}/flex-pmd-ruleset-${flexpmd.version}.jar"  />
                 < pathelement  location="${build.pmd.loc}/plexus-utils-1.0.2.jar" />
             < /classpath>
    < /taskdef>
    then generate XML  report like this :
    < pmd  sourceDirectory="${src.loc}" outputDirectory="${report.loc}"  ruleSet="${build.pmd.loc}/rules.xml"/>
    The  XML contains some file nodes :
    < file  name="/Users/user/workspace/AS3_UTILS/src/utils/align/gridAlignSpaceNumber.as">
           < violation beginline="22" endline="22" begincolumn="0"  endcolumn="27" rule="adobe.ac.pmd.rules.naming.TooShortVariable"  ruleset="All Flex Rules" package="utils.align"  class="gridAlignSpaceNumber.as" externalInfoUrl="" priority="5">This  variable name is too short (3 characters minimum, but 1 actually).  Detects when a field, local, or parameter has a very short name<  /violation>
    < /file>
    The  message is in the text node  < violation>TEXT< /violation>
    For  me, we miss an important part of the message : the portion of the "bad"  code.
    It could be very usefull if PMD can generate  something like this :
    < file  name="">
           < violation beginline="" endline="" begincolumn=""  endcolumn="" rule=""  ruleset="" package=""  class="gridAlignSpaceNumber.as" externalInfoUrl="" priority="">
            < description>TEXT< /description>
            < code><CDATA[MY CODE
    MY CODE
    MY CODE]>< /code>
        <  /violation>
    < /file>
    With this, we can  generate "full" HTML report with XSLT transform easily.
    I  understand that it modify the standard XML schema of the output.
    So,  perharps it could be an option like this :
    < pmd fullDescription="true"  sourceDirectory="${src.loc}"  outputDirectory="${report.loc}"  ruleSet="${build.pmd.loc}/rules.xml"/>
    What do you think ?
    Thanks !

  • 2 questions about my Html report

    Dear All,
    I've created this Html reporting VI as a template for future work. As you can probably see on the VI i'm saving at a set time so that i can save the report once a day. I'm doing this by comparing the current time to the time input it works but it creates 2 folders one for the right set time and one for the second later somehow i've tried various solutions but i still cannot manage to obtain only one folder. Could someone help with this please?
    Another issue is when i'm appending front panel images (in sequence 2). Is there a way to insert a space or tab between them because at the moment they are one after the other? I found the tab for reports but it doesnt work for html only for excel by the look of things.
    Thank you in advance,
    Frederic. 
    Attachments:
    html DZ 2010.vi ‏136 KB
    html DZ 8_5.vi ‏175 KB

    For your specific questions:
    The reason you are getting 2 folders is that you are comparing the time to the resolution of seconds. Your save is occurring so fast that when the loop iterates again less than a second has passed, so the comparison you are performing to test whether to generate the report is still true. Instead of doing all those conversions just compare the current time with the set time to save using a simple Greater or Equal? function.
    Normally extra spaces and tabs in HTML are ignored by browsers. If you want to insert a space you have to use a non-breaking space or create a table.
    Other comments:
    Do yourself a favor and get rid of the sequence structure. All those sequence locals just make a mess. Use a state machine or create subVIs that logically break up your report generation.
    The outermost while loop is not necessary. You can place the update of the current time in the small loop.
    Do not hard-code paths in your code as you are doing with the directory where the reports will be saved.
    Is the intention to save the report "on-demand" by allowing the user to change the time when the report will be saved, or where you intending to save this automatically once a day?
    Attachments:
    Example_VI_BD.png ‏10 KB

  • Problem with NIReport.llb\Print HTML Report using IE.vi on different machines

    We have 5 machines here in our workgroup which have the same state regarding security patches and other system updates. We recently found out that there is a problem with the NIReport.llb\Print HTML Report using IE.vi on the different machines.
    If I would open the VI on MachineA the control could be loaded. If I would open the VI on MachineB the control could be loaded. If I would copy the VI from MachineB to MachineA and open the VI the control could not be loaded. If I would copy the VI from MachineA to MachineB and open the VI on MachineB the control could be loaded. MachineB could load the version from MachineA and MachineB but on MachineA only the own version will load. I have seen that both versions have the same GUID for the Microsoft Webbrowser but are different in some other aereas.
    Since printing HTML Reports is part of the application which will be distributed as application I want to know if someone else have seen such a behaviour or has got problems distributing an application.
    Also I want to know which additional information is stored in an Active-X container about the control beside the GUID.
    We have Win XP Prof SP2 with MS IE 6.0.2900.2180 on all machines in the workgroup.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

    Hi Tom,
    this is the VI <vi.lib>\Utillitiy\NIReport.llb\Print HTML Report using IE.vi copied from a machine that can load and run the VI and it will print. On this machine the control in the VI is white.
    This VI will give the "Control could not be loaded" message on my machine.
    The file shdocvw.dll is 2006-10-23 16:18 size 1.460 KB and I verifyed that both machines have the same version of this file.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions
    Attachments:
    Print HTML Report using IE.png ‏11 KB

  • Batch file to html report generator:

    I want to create reports based of the batch file that I run.
    I created a batch file to run a number of programs for this PC tune up service that we do at the University I work at.  This is mostly a "learn for my own benefit" project, but if it works and looks nice I would like to make it availible to
    my co workers.  
    Here is what I have so far for the batch:
    @echo off
    :start
    echo.
    echo Do you need to install
    echo  Microsoft Antivirus?
    echo Type y / n (lowercase)
    set /p antivirus=
    if %antivirus%== y goto msantivirus
    if %antivirus%== n goto mbam
    goto start
    :msantivirus
    echo ProgramFiles(x86) var:
    if not defined ProgramFiles(x86) (
        start mseinstall32.exe 
    else (
        start mseinstall64.exe 
    :mbam
    echo.
    echo Do you need to install
    echo  Malwarebytes?
    echo Type y / n (lowercase)
    set /p malwarebytes=
    if %malwarebytes%== y start  mbam-setup-2.0.2.1012.exe
    if %malwarebytes%== n goto cleaner
    goto mbam
    :cleaner
    echo.
    echo Do you need to install
    echo  CCleaner?
    echo Type y / n (lowercase)
    set /p CCleaner=
    if %CCleaner%== y start  start ccsetup416.exe
    if %CCleaner%== n goto msconfig
    goto cleaner
    :msconfig
    echo.
    echo Do you need to run
    echo  MSCONFIG?
    echo Type y / n (lowercase)
    set /p microsoftconfig=
    if %microsoftconfig%== y start msconfig
    if %microsoftconfig%== n goto print
    goto msconfig
    :print
    echo.
    echo Do you want to print
    echo  a report?
    echo Type y / n (lowercase)
    set /p print=
    if %print%== y start (i don't know what to do here)
    if %print%== n goto done
    goto done
    :done
    echo.
    echo You have finished the Zonetech scan. Press any key to exit.
    pause >null
    Here is what I have for the HTML (its based of another site I made so there is some leftover stuff in it):
    <!DOCTYPE html>
    <html>
    <head>  
    <title> Zone Tech Computer Health Form </title>
    <meta name= "viewport" content="width=device-width, initial-scale=1.0">
    <link href= "css/bootstrap.min.css" rel= "stylesheet">
    <link href= "css/styles.css" rel= "stylesheet">
    </head>
    <body>  
    <div class="navbar navbar-inverse navbar-static-top">
    <div class= "container">
    <a href= "#" class= "navbar-brand"> BOISE STATE UNIVERSITY ZONE TECH</a>
    <button class = "navbar-toggle" data-toggle = "collapse" data-target = ".navHeaderCollapse">
    <span class = "icon-bar"> </span>
    <span class = "icon-bar"> </span>
    <span class = "icon-bar">  </span>
    <span class = "icon-bar"> </span>
    <span class = "icon-bar">  </span>
    </button>
    <div class= "collapse navbar-collapse navHeaderCollapse">
    <ul class = "nav navbar-nav navbar-right">
    <li class= "active"><a href = "#">Home</a></li>
    <li><a href = "#">Blog <b class= "caret"></b></a></li>
    <li class = "dropdown">
    <a href = "#" class = "dropdown-toggle" data-toggle = "dropdown">Social Media</a>
    <ul class = "dropdown-menu">
    <li> <a href = "#">Twiter</a></li>
    <li> <a href = "#">Facebook</a></li>
    <li> <a href = "#">Google +</a></li>
    <li> <a href = "#">Instagram</a></li>
    </ul>
    </li>
    <li><a href = "#">About</a></li>
    <li><a href = "#contact" data-toggle="modal" >Contact</a></li>
    </ul>
    </div>
    </div>
    </div>
    <div class = "container text-center">
    <div class ="jumbotron">
    <h1> Computer Health Report</h1>
    <img src="img/smallerbroncologo.png" />
    </div>
    </div>
    <div class= "container" >
    <div class = "row">
    <div class = "col-md-3">
    <h3><a href = "#">Virus Scan </a></h3>
    <p>A Virus Scan checks your computer to see if any malicious software is present.</p>
    <a href = "#" class = "btn btn-default" > read moe </a>
    </div>
    <div class = "col-md-3">
    <h3><a href = "#">Adware Scan </a></h3>
    <p>We check your computer for programs that may present themselves as legitimate services to "repair" your computer for money or sites that redirect your internet browser.</p>
    <a href = "#" class = "btn btn-default" > read moe </a>
    </div>
    <div class = "col-md-3">
    <h3><a href = "#">Registry Scan </a></h3>
    <p>Sometimes programs you have installed don't uninstall right or fully.  Othertimes your programs may stop working because there is wrong infomration in the registry.  We clean and optimize the registry
    to help make your computer work better</p>
    <a href = "#" class = "btn btn-default" > read moe </a>
    </div>
    <div class = "col-md-3">
    <h3><a href = "#">Start Up Scan </a></h3>
    <p>If your computer is booting slowly, sometimes the cause is to many programs trying to start up when windows starts up.  If to many programs try to start up at once it clogs up the computers processor and makes
    it run slow.   We check to make sure that only the essential programs are running so your computer runs better.</p>
    <a href = "#" class = "btn btn-default" > read moe </a>
    </div>
    </div>
    </div>
    <div class = "navbar navbar-inverse navbar-fixed-bottom" >
    <div class = "container" >
    <p class = "navbar-text pull-left"> Site by Travis </p>
    </div>
    </div>
    <div class = "modal fade" id = "contact" role = "dialog">
    <div class = class "modal-dialog">
    <div class = "modal-content">
    <div class = "modal-header">
    <p> Contact Tech Site </p>
    </div>
    <div class= "modal-body" >
    <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are
    going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on
    the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from  </p>
    </div>
    <div class = "footer">
    <a class= "btn btn-default" data-dismiss = "modal" >close</a>
    <a class= "btn btn-primary" data-dismiss = "modal" >close</a>
    </div>
    </div>
    </div>
    </div>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/latest/jquery.js"> </script>
    <script src="js/bootstrap.js"> </script>
    </body>
    </html>
    Here is what I want to do:
    I want to make an interactive html report based on an HTML site I made.  I want to take the y (meaning yes) inputs for the strings( anitivirus, malwarebytes, ccleaner, and Microsoftconfig which are from the batch) and make them indicate something has
    been done on the HTML that I created.  Essentially, I see the yes inputs putting check marks (or something) in the sections of my HTML document that are related to the programs I ran in the batch.  The sections in the HTML page are called Virus Scan,
    Adware Scan, Registry Scan, and Start up scan and they are paired to the variables antivirus, malwarebytes, ccleaner, and microsoftconfig.  
    I hope this makes sense.
    Thanks for any help

    This is the way I was looking at it.  Essentially a html file is a text file.  I have already written the html file I want to have displayed.  I just want the batch to make a slight change to the text in part of it.  If I could
    do that I would be happy.  Is there any way to do that with the batch?
    Editing files never has been and is still not something that batch files do easily.  I ti si not the intention of batch to do this.
    If you are trying to learn something, try learn-ing something that is not obsolete.  Batch is not worth the time when we have PowerShell,  If you ant to alter an HTML dynamically then use an HTA.  It is easy and well supported.
    ¯\_(ツ)_/¯

  • How to prevent the 'Save [html] Report to File' from overwriting an existing file.

    Using LabVIEW 2011 on Windows XP, SP3.
    I am trying to use the Save Report to File vi, specifically a html report.
    It allows replace and create file.
    In my application, I would like to create or open the file. When I try to edit to include those options
    and save the vi something breaks as it appears to be an OOP vi.
    How can I perform this functionality?
    Thanks,
    Steve Scoppettuolo

    Wait, what do you mean you try to "edit to include those options"? Are you actually modifying a core LabVIEW VI? If you are STOP. NEVER modify VIs shipped with LabVIEW.
    Your question is fundamentally not clear. Why do you want to open the file if you're trying to save the report? Are you trying to append to an existing report? If so, the New Report VI has a "template" input. If you specify an existing report file it will be opened for editing. Please review the documentation on the report VIs.

  • Can i  change font  size  in  jasper  exported  Html  report

    how can i change font size in jasper exported Html report.
    i also want table in that html report.

    So when is it going to be possible, I ask, as this is a question I and many others ask after each update!

  • Html report naming

    Hello All
    My question is related to the two attached pdf files.
    The Report_BD file shows how I am saving a html report. There is no problem with the vi, it works fine. The issue I have is with the naming convention.
    The second pdf shows a directory listing of the report files that are generated.....a html file....and a jpeg file.
    I am unaware of the naming convention used for the jpeg file, but its name has no relation to the vi.....example shown LVtemp0337868190917.
    Now, most readers are going to say......what's wrong with this...it's only a temp file, but I have a need (believe me) to be able to name the file according to my own convention.
    The question.....can somebody enlighten me on how I might be able to PROGRAMMATICALLY change the name as it is created....a name such as "SecondPage"
    Thanks for any assistance with this.
    Best regards
    Ray
    Attachments:
    Dir_Forum.pdf ‏91 KB
    Report_BD.pdf ‏32 KB

    Hi Ray,
    there are different solutions. The first is you can change the internal code from the library where the file is generated. Another solution is to go through all files, check if it's an image and if yes change the filename to what you need. Remember the original name, open the html report and search for your remembered name inside a <img src=""></img> tag. If you've found it, replace the new name with the old one.
    Hope it helps.
    Mike

  • Html report scrollbar in LV User Interface

    Hi Everyone
    I'm designing a LV User Interface with a HTML report view. Everything is working nicely except that while the report is being generated the report text becomes wider than the report view causing a horizontal scrollbar to appear which then shifts the report view to the far right hand side. This is annoying and we don't want the operator to constantly have to scroll the horizontal bar across every time.
    How can I disable the Horizontal scrollbar or enable the text to just wrap around. The culprit in the HTML report is when the full path name to the sequence is displayed, if I could at least disable the filename from being written that ought to help. This ought to be done within the reportgen_HTML.seq but where?
    Kurt Friday
    www.sciware.com.au

    Hi
    To help you remove the report path from the report I will need to know what are your report settings.
    Can you please post your "TestStandModelReportOptions.ini" usually found under <TestStand>\cfg folder.
    To try to resolve the issue with the horizontal scroll bar I have a couple of questions:
    1. What version of TestStand are you using
    2. What version of IE is installed on your machine
    3. Can you please post a sample report and a TestStand Sequence File which causes this issue
    4. What is your OS?
    Regards
    Anand Jain
    National Instruments.

  • Financial Reporting Question - Formula row Issue

    Hello,
    I have a financial reporting question and would like to have your inputs in order to achieve what I am trying to do.
    I have a report with two grids – grid 1 & grid 2. And there is a formula row in grid 2 that is “change between the two years” worth of data. The year and period combination is in the page of the grids.
    Formula row (in grid 2) = ((Grid1.[b,6]) - [b,6]) / [b,6]
    The issue is when I change the Page selection in Grid 1 the formula in grid 2 doesn’t get updated values unless and until I make a change in the grid 2 Page selection too. If I don’t make any changes in the page selection in grid 2 it keeps the data (looks like it is still considering the previously retrieved/calculated values) as it is without any update.
    How can I make the formula row in grid 2 dynamic so that it gets updated no matter what combination of page selection I make in either grid 1 or grid 2 or even if I just change something in grid 1 and nothing in grid 2?
    Please let me know your inputs. Any help is appreciated.
    Thanks,
    Krrish
    Edited by: Krrish on Dec 3, 2012 7:45 AM

    Page POV will be specific to the grid.Why can't you try to have the POV at the report level.In the HTML view of the report,the report will give you a Drop Down to select POV for all Grids.Select All Grids option and then set the POV which will be same for both the grids (which you want) and all your formulas will work.

  • Add Parameters in html report header

    Hi All,
    I would like to add few parameters/items in the header of my html report. I don't know how to pass my parameters in my main sequence to report file.
    Pls advise.
    Thanks
    toko..

    Hello toko,
    Were you able to find the information you want? As Ray said, there is an example that ships with TestStand that shows how to customize reports that you may want to reference.  You can find it at C:\Program Files\National Instruments\TestStand 4.0\Examples\ModifyingReports. If you have further questions please feel free to post.
    John B.
    Applications Engineer
    National Instruments

  • Html report generation save to same VI folder

    Hi all,
                Im creating a sample html report using labview6.1. my question is i want to save my report html file to the current directory where the vi is located instead of giving some path like " C:\Folder1\Folder2\..." etc . My intention is to put the VI in a zip file so that i can send it to my friend and when he runs it its easy to locate the report since VI and report are in same directory..
    Any methods to do so??
    Steve.
    Solved!
    Go to Solution.

    Try this
    Message Edited by Baji on 05-13-2009 11:08 AM
    Balaji PK (CLA)
    Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    Get current dir path.JPG ‏9 KB

  • Html report of graph

    Good Morning
    I am using the FP Image to Report vi to create a html report (png) of a FP with a graph on it.
    When the report is generated the waveform generated is not visible, that is, its not there, just the graph
    Could somebody explain why this is happening?
    Thank you.

    Rayclout-
    If you are running the program as an .exe, there is a possibility that it won't run properly on the deployment machine, because it was compiled on the development machine using Windows XP.  Although it is possible that it would work, there is no guarantee that it will (Windows Server 2008 is based off of Windows NT 6.x, like Vista and 7; XP is not).  Again, this difference may not mean that it absolutely will not work, but this raises some more questions.  One thing you could do is build/compile the program on the deployment machine.  If you do this, and the problem persists, then there is something wrong with the code (for that machine) and might need to be reworked.
    Thanks,
    Sean 
    Applications Engineering Specialist - Semiconductor Test
    National Instruments

  • Oracle BAM – Designing Custom HTML Report

    Hello,
    I read an article about designing custom HTML reports   http://www.oracle.com/technetwork/middleware/bam/technote-bam-customhtmlreport-131058.pdf . In my situation , I want to use circle instead of table to display data values. How can I do that ?     Can I use JavaScript in the HTML String ?

    Update:
    This is interesting. So when my coworker asked me how get the tooltip effect, I said it was super straight forward. All they had to do was something like:
    &lt;span title="My tooltip"&gt;My Column Header&lt;/span&gt;
    And it would work. After trying all kinds of HTML, I despaired of a simple fix.
    Then we set the HardenXSS flag to false in the server instance config file, and I tried that exact code again. It still was not parsing the column header correctly. Then one of my other coworkers, tells me that he put a line break tag in, and it rendered the break.
    o.O
    So I tried the following:
    &lt;b title="My tooltip"&gt;My Column Header&lt;/b&gt;
    Which of course worked. Why is span being discriminated against? I have no idea.
    So basically, for column header tooltips, disable XSS hardening, and use a bold tag. (why bold? it was the first thing that came to mind, and since the default font-weight of a table header is bold, it should be practically unnoticable).
    The next question is, what exactly is the impact of disabling the HardenXSS. I'm not sure if it allows certain HTML elements only, or if it allows any HTML (or more to the point the script tags). I wonder if anyone has done a vulnerability assesment of having hardening turned off.
    --james
    Message was edited by:
    jholder
    Message was edited by:
    jholder
    Fixed html entities

  • Why does "Open HTML Report in Broswer" crash on some machines?

    I've been using the "Open HTML Report in Browser" subvi to generate simple printable reports from a control program, but the program hangs on the control system PCs. I am running Win2000 with IE on my programming box, but on the XP machines with IE and Mozilla running the LabView 7 runtimes the program will hang in the Open HTML Report subvi every time. Is there any known cause for this? Are there any alternatives?

    rsd212 wrote:
    I am running Win2000 with IE on my programming box, but on the XP machines with IE and Mozilla running the LabView 7 runtimes the program will hang in the Open HTML Report subvi every time. Is there any known cause for this? Are there any alternatives?
    Hello rsd212,
    The behavior we you are seeing is probably due to the security policies set up on your windows XP machine. Have you installed Service Pack 2 on the machine?
    One way to check if is this is security policy issue is to force the report VI to open the browser with the System Exec VI instead of using DDE. You can do this by opening the Open URL in Default Browser Core subVI inside Open HTML Report in Browser -> Open URL in Default Browser and changing the code to always run the System Exec version and skip the DDE version.
    If this works you can either keep the VI as is or revert to the original version and troubleshoot what security policy is preventing DDE from working on your computer.
    Please let me know if you have any questions.
    Regards,
    Matt
    Keep up to date on the latest PXI news at twitter.com/pxi

Maybe you are looking for