Report text based on test results

I would like to include debug information in the TestStand report.  For example, if test fails, report text = "Try replacing C1."  Is there one expression that would cover all types of tests?  I'm using TestStand 3.5.  Thanks.
Solved!
Go to Solution.

One idea is that you could use the step's additional results.  Just put a debug message as one of the ideas and then set the Condition to Step.Results.Status == "Failed".  Then it will only show if the step fails.
Just a thought.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • OBIEE Report - filter based on the result from another analysis

    Hi,
    I am using OBIEE 11g,
    I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
    Table 1
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-01
    14:00
    20:00
    14:00:00
    20:00:00
    2015-03-02
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-07
    14:06
    20:02
    14:00:00
    20:00:00
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    Table 2
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    -3
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    6
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-01
    14:00
    20:00
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-02
    16:00
    20:00
    00:00:00
    00:00:00
    4
    16:00:00
    20:00:00
    4
    2015-03-07
    14:06
    20:02
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    4
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    4

    Why avg here?
    What columns you want to show in the report?
    for a employee for given date if he have 2 rows then you may sum up hours right?
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours

  • Report Tab showing Cleanup Test results

    We're running with TS 4.0 (VIs in LV 8.5).  We've customized the Operator Interface so that the Execution View and Report View are contained in the same tab.  Before now, we really didn't use the Cleanup section of the sequence file.  However, as our test evolved, we realized the need to guarantee certain predictable shutdown.  Anyway, when we run our tests (we have the report set to on-the-fly) the tests in Main show up in the execution tab and display pass/fail.  When a subsequence is called, the execution tab lists those (sub)tests and their results, as expected.  The problem is that we have a couple of things we do in Cleanup, and when the test ends, the execution tab displays the results of the things that were done in Cleanup.  We'd like the test results from Main to show up at the end so that the user can see what passed/failed without having to scroll through the report.  Is there a way to do this?

    Hello mrbean,
    I am not seeing the same behavior that you describe.  The execution pointer should always follow the steps in the currently executing sequence.  If your MainSequence cleanup step group does not call any subsequences, then the execution pointer should not leave the MainSequence.  Furthermore, when I do place a subsequence in my cleanup step group, the execution pointer still returns to the MainSequence from which the subsequence was called once it is finished executing.  So I have been unable to reproduce this issue.
    However, if you simply want to disable tracing into the Cleanup step group, you can go to Configure > Station Options and uncheck the "Allow Tracing into Setup/Cleanup" option.  I hope that helps.
    Regards,
    Marty H.
    National Instruments

  • Report Column as link or normal text based on SQL result

    Hi all,
    I would like to achieve the following:
    I have a report based on a PL/SQL function returning SQL query.
    The first column contains an ID (i.e. a number)
    If this number is contained in a nother table.field this column in this row shall be a link to another page incl. item assignments.
    If this is not the case, it shall be displayed as normal text.
    Example:
    TABLE1.ID = 123456
    IF SELECT count(*) FROM TABLE2 WHERE ID = TABLE1.ID > 1 then
    show column as link
    ELSE
    show column as text
    ENDIF.
    Does anyone have a solution for this?
    Thanks and best regards.
    KMC

    Hi,
    You could achieve that by creating the HTML tags required in the SQL statement itself:
    SELECT ...
    CASE WHEN .... THEN '<a href="f?p=.....">'|| FIELDNAME || '</a>' ELSE FIELDNAME END FIELDNAME,
    FROM ...Of course, this would mean that the column shouldn't be sortable by the user
    Andy

  • How to embed chart/grafic into bex report (workbook) based on query result?

    Hi friends,
    Since I have never embedded any Charts/Grafic based on query report, I am wondering if you could share your knowledge?
    Thanks for your help in advance!
    Regards,
    Sally

    Hi Sally,
    You can create chart into workbook based on the query data.
    Execute the query it will show result in excel sheet. In the tool bar of the sheet you find 'Chart wizard' icon . Select the icon, it will ask for the type of the graph. After select the ranges of the data from result. It will display the graph. Then you can save the workbook.
    Graphs can be embedded in different sheets.
    Hope it helps.
    Regards,
    Aditya

  • Report "Display Text (Based on LOV)" columns don't like colons - Bug?

    This is a bit hard to explain in text, so I've built a sample app: http://apex.oracle.com/pls/otn/f?p=9608:1
    The app has two pages, which demonstrate two related bugs in the handling of Report "Display as Text (based on LOV)" columns.
    Basically, if the LOV query returns a string that contains colon characters (":") in the display column, the values are matched up correctly, but the colons are stripped from the display.
    If the LOV query returns a string that contains colon characters in the return value column, then the matching fails entirely.
    Removing the colon characters eliminates the problem.
    We actually ran into this in a production environment, after an upgrade from Apex 3.0.0 to 3.2.1. The behavior definitely did not occur in Apex 3.0, but was added at some point between the two versions.

    The colon is actually part of our data (the field in question is a URN namespace).
    And yes, I understand the function of the colon in Apex URL parameter passing. However, I wouldn't expect that sort of parsing to be used against the results returned from an LOV query.
    Also, the LOV is fine in of itself -- a select list based on the LOV displays & returns the expected values. It's only when I use a report column based on an LOV that this behavior creeps in.
    We've found a (fairly painful) workaround -- altering both the report query and the LOV query to to do something like replace(column, ':', '_') -- but that's a manual change to a large number of pages for us.
    This behavior is new to version 3.2.1. It didn't happen in version 3.0.

  • Populate report page based on results from stored procedure

    Is it possible to populate a report page in APEX based on the results from a stored procedure? If so, how do I do it? Do I write a stored procedure with a ref cursor as out parameter?

    I would use a stored procedure to return the values for a form but not for a report. For a
    report, I would use a pipelined function. See an example here:
    http://htmldb.oracle.com/pls/otn/f?p=31517:146
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to discard skipped test results in XML report generated from TestStand

    Hello,
    I'm generating XML report from TestStand. I have more than 100 test cases & user has the flexibility to select the test cases to execute or to skip.
    Problem statement:
    1. In Configure\report options there is filter expression to filter test results to be logged. However, this filter is disabled for XML report.
    2. Is there a way to compress XML file using either encryption or any other methods?
    I understand that there would be two methods ideally for my problem statement #1 above:
    A. To have a workaround in reportgen_xml.seq to pragmatically log only executed test cases and discard skipped test results.
    B. Modify stylesheet supplied by NI to discard skipped test results.
    For problem statement #2 above:
    I am able to encrypt the data before logging it to XML. But I don't know how to modify the stylesheet to decrypt the same using either public/ private encryption keys. Can anyone bring in more ideas here !!!
    My preference would be to implement using #A above to reduce the XML file size which is ~4 MB will all test results (skipped + executed). If this is not possible my last option would be to implement using #B above
    I would appreciate if someone can help me for my problem statement? I'm using TestStand 2010
    Solved!
    Go to Solution.

    I have another solution and that is to actual discard the result before you get to the report stage.
    You can do this by use of the Override Callback SequenceFilePostResultList and if Skipped then discard the result from ResultList.
    Check out this link.
    Regards
    Ray Farmer

  • Howto define report B based on result of Report A without manual triggering

    Hello
    I would like to create two reports which contains the following:
    1. Report A with defined and closed set of filters, after report A finishes to run and retrieve results ->
    2. Report B should start running filtered by one column which is result of report A (for example report A retrieved a set of names in column 'employee', I would like report B to start running only based on the result of that column 'employee' of report A), without the need of manual trigger / navigation.
    both reports should be presented in the same page.
    is it possible ?
    can it also been created as iBot (email) ?
    thanks
    Haim

    Hi, thanks
    +@haimz :+
    Use a filter in report B with "filter based on another request".
    That should work.
    Also for not displaying B, you can have a condition, where B section doesn't show up until you have rows returned by A.
    I am not sure how to perform the second part of your answer (can you elaborate, please) ?
    also is there a way to present the two report together (not in a dashboard) and then to define Report B wait for report A to answer.
    Haim

  • Cascade LOV display as text (based on LOV) in clasic report

    Hi Experts,
    It is possible to use cascade LOV - item is displayed as text (based on LOV) in clasic report ? (Display AS)
    I would like to reference to another column displayed in the report in LOV.
    Example:
    select description d,
           val_strg2 r
      from domain_cntr
    where cntr_name = 'CH_PRIM_ST_NOTE'
       and val_strg1   = #PRIM_STATUS#
       and active_idc  = 'Y'#PRIM_STATUS# is the column i would like to reference.
    Is it possible ? IN CLASIC REPORT
    regards
    J :D

    Hi,
    >
    Is it possible ? IN CLASIC REPORT
    >
    Yes.
    It may a rather long thing to code, so be ready for it.
    Here is how:
    a. Use APEX_ITEM API in your Report Query. Make sure you specify the p_item_id parameter , using #ROWNUM#
    b. In the Parent LoV wrtie an onChange event trigger that fires a JavaScript function and pass the ID of the element .
    c. In this JavaScript function make an AJAX call to get the <select>...<option...>...</select> , in short the complete HTML of the child LoV
    d. Push this HTML fragment into the Child Lov. You construct the ID of the target based on the ID of parent . E.g. f01_0001 to f02_0001.
    e. You may additional keep the child invisible or disabled initially, and then make it visible/enable it after it is populated.
    Regards,

  • How to make a report based on the result of another report?

    Hi, All,
    I am a new guy in BW development
    I  made the report1, to show the "Total Sales in each country and each shop "
    (the fact table is "Order")
    now I want to make report2 "in each countries, the number of the shops, whose Total Sales >100000"
    Can I make the report2 based on the result of report1 (use the same fact table)
    thanks a lot
    QY

    Hi Klaus,
    your condition only works if the Shop is in the query. If I understood it correctly you have one query with
    Country   Shop   Total Sales
    and one with
    Country   Number of Shops   Total Sales
    and you don't want to restrict the second Total Sales but the Total Sales from the first query.
    Best regards
       Dirk

  • How to summarize all the DUT test results such as Serialnumber, high limit, test result,low limit ,pass or fail to save to one excel table file? So i just open the excel file to see all the DUT report.For your help! any example.

    RT

    Here is an example of a sequence opening an excel document and creating a table. You have to slightly modify it, to save Serialnumber, high limit, test result etc. But this will be a good start.
    Hope this helps
    SijinK
    National Instruments
    Attachments:
    Write_Table_to_XL_and_Create_Chart.zip ‏9 KB

  • Bug: Report Column based on LOV character string buffer too small error

    When using a column type of "Display as Text (based on LOV, does not save state)" with a result set that is rather large causes a character or string buffer too small oracle error.
    See the below page for an example.
    The example page below has a single report off a table called "HUGE_TABLE" which has two columns: display and code
    Code contains a number between 0 and 100000.
    Display contains the number in code appended to a block of text.
    When I display the report with no Display As Text (based on LOV does not save state) it displays fine.
    If I make the "Code" column display as text based on LOV and make the LOV
    "SELECT display, code FROM huge_table"
    I get the error you see on the page.
    http://apex.oracle.com/pls/otn/f?p=32149:1
    Thanks.

    Thanks for your help Scott.
    So from what I've gathered from my own tests and the discussions you linked me to the LOVs based on SQL queries are being converted into "static LOV" strings before being used.
    As such they are limited to the PL/SQL VARCHAR2 max size of 32767
    Which means given the static reduction of the string 'STATIC:' that we have 32760 characters left.
    Which is where your SUM( LENGTH( display ) + LENGTH( return ) + 2 ) comes in.
    In short, if:
    sum( length( display ) + length( return ) + 2 ) + 7 > 32767
    would evaluate to true then you have a problem. :)
    I'll use this to track down my problems and switch them over to inline queries.
    Thanks.
    Cheers,
    Joe

  • How to fill pre-defined tables in Word 2003 with test results?

    Hi All,
    I have a simple test board , where i measure different DC levels,  with a simple Vi that saves the test results in to a Text file.
    These results in text file, were manually typed in to a test report , which is a Word document with tables, but i have now created a macro in word 2003 that can take the results from text file and added to the specific rows and columns in  my word test report file.
    The big questions is how can i get Labview to,after it has measured the DC levels, write the test results to the specific tables , rows and columns, in the Word document without deleting all?
    The attached picture illustrates one tables , and the yellow cells showing the cells that need to be filled in with test results.
    Labview vers: 2009
    Solved!
    Go to Solution.
    Attachments:
    Template.jpg ‏37 KB

    Hi!
    I'm a Test Engineer for electronics and I create alot of automated tests with LabVIEW. Many of our customers want testsresults in a fancy and easy-to-read report. I did not have the MS Office Report Generation tool. So I did some research in the Excel Board and came a cross a link to a free open Excel toolkit ( Link ). The toolkit looks like this in LabVIEW:
    As you can see, you have many tools to get the job done. I'm talking about reading, writing and formatting Excel. The toolkit uses activeX. If you give me a few minutes I'll create an example for you.
    What I do when I create a report:
    Step 1. Create a template with all your formatting, macros, images and colors. Name the file for example "template.xlsx" (or .xls if you use an older office version).
    Step 2. In your program, copy the file to the desired location and give it a proper name.
    Step 3. Aquire some data and write it to the file you copied and renamed.
    For my latest project I created a fully-automated testprogram for testing a electric product. After each test a report is generated based on the procedure above. After testing all the products I have for example 300 reports. I then created a program that reads all the reports and creates a summary report that contains statistics for all the tested products. In my program I can also print the reports or the summary report and deliver to our customer. All this takes just a few seconds and adds extra quality to the products we sell to our customer.
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • Report limits for individual tests

    Hi All
    I have a system under test which I interrogate (via RS232) for embedded hardware and firmware information. The reported response has to be added to the final test report along with all the other specified test cases.
    e.g.
    Operator:  xyz
    Date:  xyz
    UUT Type: xyz
    Serial Number: xyz
    PTS 2.1 Embedded H/W (Processor)  12345 version A  12345 version A
    PTS 2.1 Embedded H/W (Amplifier)    23456 version B  23456 version B
    PTS 2.1 Embedded H/W (Filter)         34567 version c  34567 version c
    PTS 2.1 Embedded H/W (Pre-Amp)   45678 version D  45678 version D
    PTS 2.2 12V OFF Current                  2.1mA  5  LT
    PTS 2.2 12V ON Current                   250mA  300  LT
    etc
    etc
    The only way I can think of to get the information into the main body of the report is to perform a 'String Value' test on it. However I then get the limits displayed in the report as well making the final report look messy. I do need all the limits in the report for the usual test cases e.g. voltages, currents etc so I cannot turn off limit reporting in the configuration  report options.
    Is there a way to turn OFF the limits reporting for individual test cases?
    Regards
    IanR

    What version of TestStand are you using?
    You could change the step to an 'Action' step and put the RS232 string in the report text for the step?  It depends on how your report options are setup in your environment.  Where I work, we do not put any Action steps in the report just Pass Fail results.  Hence you would have to change the Status Expression for your Action step to something other than "Done"....
    Otherwise in TestStand 4.0, you can click on the Property Browser view under the Properties Tab.  Right Click on the Limits container and select 'Advanced -> Edit Flags'
    Within that box there is an option 'Is Limit' checked, perhaps by unchecking this option it will not be put in the report.  Although I would NOT do this, because it is difficult for anyone taking over your code ( unless you document you changed this flag ) to see that it is unchecked.
    Thanks,
    Paul Holzrichter

Maybe you are looking for

  • Multiple applications crashing in Mavericks

    Hi there         Since the last few days after I updated to Mavericks 10.9.1 my Macbook Pro crashes a lot. It happens whenever I launch Skype or any other application, even Finder. Sometimes when I go into System Prefs and select anything such as Key

  • How to set classpath

    I would like to know the proper syntax for setting multiple baeans for classpath for iWS6. Can something like this work: D:/mybeans/beana.jar;D:/mybeans/beanb.jar;D:/mybeans/beanc.jar thanks

  • Cant uninstall Macromedia Flash Player 6

    My system is unable to uninstall and upgrade from Macromedia Flash Player 6.0 r21. I have tried the Flash Player uninstall and the Flash Player 6 uninstall. I have manually deleted the Flash.ocx files wherever they occur. The Adobe Website acknowledg

  • Complex Average question

    I was wondering if I could put the following requirement into a single member formula:I need to calculate the average value of a level 0 time member of the descendants of the current member.For example, If I select Qtr1, I need the average of Account

  • Navigation of media in Photoshop Organizer cannot be controlled.  It skips up and down the page for no reason while I am trying to select photos.

    The reason my photos are in such a mess is because of the behavior that goes on when I am trying to get them organized.  When I have my mouse in the screen with all the photos and select a few, suddenly my mouse has moved me to another place.  Is the