Obtaining step number in the report of teststand

when we make  a sequence which has more than hundred steps for testing. After execution it becomes some what difficult to know in the report where we are i.e, at which step we are and which step condition we are checking.What i wanted to know is that is there any way that step numbers are obatined along with the steps in the report when ever we run the sequence.
Solved!
Go to Solution.

Hello,
 I think the easiest thing to do if you are ok with the step index showing up in the Report Text area would be to use a post step callback to add the step index to the report text.  Since you already have sequences written you can modify the process model to do this for every sequence.  
This is what you'll want to do:
 If you are using an NI process model, copy it to the Users folder if you have not done so already so you have a backup. TestStand will then use the process model in the Users directory.
Open your process model (ie. SequentialModel.seq)
Go to Edit>>Sequence File Callbacks...
Add ProcessModelPostStep - This callback will be called after every step in every sequence that uses this process model
In this ProcessModelPostStep sequence we need to do two things:
Get the step indexPut down and ActiveX Action Step and fill out the module options:
Object Reference: Parameters.Step
Automation Server: NI TestStand API 3.5
Object Class: Step
Action: Get Property
Property: StepIndex
Create a local numeric to save the output value of the step index
Set the report text
Put down a Statement Step
Set the expression to: Parameters.Step.Result.ReportText = "Step Index = " + Str(Locals.StepIndex)where Locals.StepIndex is the index we got in the previous step
That is all you need to do.  Save the process model and now when you run a sequence that uses that process model you will be able to see your step index displayed in the report text area of each step.
Here's a little background information on Post Step callbacks:
"How Can I Perform the Same Action After Every Step Executes?"
http://digital.ni.com/public.nsf/allkb/94149BA16C1E1C86862572A4008221FF?OpenDocument
And here is some information on callbacks:
"What is the Difference Between Using a "SequenceFile..." callback and a "ProcessModel..." callback?"
http://digital.ni.com/public.nsf/websearch/41FCAF4E61233DF086256BC900545466?OpenDocument
Please let me know if you have any questions, or run into any problems doing this.
Kristen
National Instruments

Similar Messages

  • Step number in the pricing procedure

    Hi experts,
    Pls advise the reasons. How to solve them without changing the step number?
    Q1: As long as HM00 is the first step number in the pricing procedure, the value of HM00 cannot be distributed among items.
    Example:
    Pricing procedure:
    step no.         conditon type
    10                      HM00 (statistical)
    30                      NETW (ERL)
    Sales order (HM00 = $100):
    item 1     NETW = 0
    item 2     NETW = $100
    Q2: When putting a conditon type between PR00 & subtotal in the pricing procedure, such as VPRS, the value of subtotal cannot be the same as PR00.
    Example of sales order:
    PR00 (unit price) = $19.95 per 10kg
    VPRS (internal price) = $10 per 1kg
    subtotal = $2 per 1kg
    Request: PR00 = subtotal = $19.95 per 10kg

    hello, cathy.
    i do not have access to my references now, but please allow me to advance a general concept.
    in SAP standard, HM00 is a group condition, and fixed value.  the distribution of this value is controlled by certain logic.  as in other header condition types, distribution of this amount can be based on either the value or quantity contribution of the different sales order items. 
    what serves as the basis for distribution of HM00, i do not recall but i will get back to you on this... or perhaps another consultant can give it sooner.
    as to your second issue, i will try to understand your situation better.  but generally VPRS is statitical and not meant to come between PR00 and the sub-total.  VPRS has a different logic compared to the other condition types, and is intended to return a statistical presentation of profit margin in the condition tabs.  if fact, in pricing procedure RVAA01 you will notice that VPRS is grouped with the other statistical condition types just before the profit margin.
    regards.

  • Displaying the Row and Column number in the report

    I am trying to show row and column number in the report (not just web preview). I am using Hyperion Reports Version 7.2.5.168

    use a formula column/row. use RANK function in that. (e.g. Rank([A], asc) will sort the rows based on column A values in ascending order)
    you can use this rank in your heading.
    But frankly this is not so easy. You have to do it in a very intelligent way, so that rank gives you column number/row number any how.
    Have a try and let see if you find a appropriate solution.
    Regards,
    Rahul

  • Display of serial number in the report

    Hi experts,
       I wanted the serial number in my report based on plant .I am getting it based on my sub divisions of plant .Also i wanted  this column as the first while dispplayed in the re[port.
    can anyone please suggest me a solution for this issue?

    thanks syed but i want a new column in my report level based upon the plant like
    1. aaa
    2.bbb
    but i get it based on the subgroup like
    aaa  asdf  1
             dfgh  2
             hjkl    3
    bbb   asdf  1
             dfgh  2
             hjkl    3
    the correct output what iam looking for is
    1.aaa  asdf  1
               dfgh  2
                 hjkl    3
    2.bbb   asdf  1
               dfgh  2
                hjkl    3

  • Profit center group number on the report painter report.

    Hi,
    We have a client requirement where we have to develop Profit center by Functional Area report by using report painter report functionality, however we are able to bring profit center group description on to the report as per the requirement, but not able to get profit center group number displayed on the report.
    Can anyone please advice me if we can get the Profit center group number displayed on the report in Report painter report. Else let me know if we can get the requirement met by an ABAPER.

    Hi.
    First of all, through transaction GS01 create a set ID for profit centers.
    Give table GLPCT, let the set type be the default (basic set) and give field name RPRCTR. Then define the range of profit centers you want. If you want all the profit centers give * in the "from value field".
    Then create a variable through transaction GS11. Give table and field as above, choose variable type set and at the default set field choose the set you created.
    Finally, at report painter go to Edit/General Data Selection and select profit center.
    Check both flags (for entering sets and variables) and give at the form field the variable you've made.
    Now the progit center group will be available in the selection screen with default value the set you've made.
    Regards

  • Add serial number in the report file name when using batch process model

        I would like to append a string containing the current UUT serial number to the base name of the report file. For example, uut_report.html becomes uut_report[SN000001].html. This setting is not available if I use NI BatchModel.seq as my process model.
    Thanks!
    Jacky

    duplicate post
    Ask your question only once.

  • How to add Serial Number to the report name?

    HI,
    I'd like to add the option of including the SN to the report name.  A good option will be to automatically set the default base name to the SN.
    I'm open to suggestions. Either a simple solution where I'll always get the SN as the base name, or
    a more complicated solution where I can really make some modifications to the report option dialog page to include that upon user selection.
    Thanks
    Rafi
    TS3.5+CVI8.0
    p.s. an example, if exist, will be highly useful (and appreciated of course)

    That's okay... I can answer here as well...
    Under Configure >> Report Option
    UNSELECT "Store UUT Report in Batch Report File" first, then select "New UUT Report File for Each UUT"
    New UUT Report File for Each UUT—Appends a string containing the current UUT serial number to the base name of the report file. For example, uut_report.html becomes uut_report[SN000001].html. This setting is not available if you select Store UUT Report in Batch Report File.

  • Displaying serial number in the report output

    Hi everyone
    may i know hw can we display serial number inthe report output.

    hi,
    Assuming that you wanted to print the entries of internal table record by record ... do this way ...
    loop at itab.
    write : sy-tabix.  " Record Position
    endloop.
    Regards,
    Santosh

  • How to know Patch number of the Report builder

    How to know the Patch number in Reports6i.
    I clicked on the HELP Menu option and further clicked on About option .Following was the information displayed...
    Report Builder 6.0.8.11.3
    ORACLE Server Release 8.0.6.0.0
    Oracle Procedure Builder 6.0.8.11.0
    Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
    Oracle CORE Version 4.0.6.0.0 - Production
    Oracle Tools Integration Services 6.0.8.10.2
    Oracle Tools Common Area 6.0.5.32.1
    Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
    Resource Object Store 6.0.5.0.1
    Oracle Help 6.0.5.35.0
    Oracle Sqlmgr 6.0.8.11.3
    Oracle Query Builder 6.0.7.0.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 6.0.8.11.3
    Oracle Express 6.0.8.3.5
    Oracle XML Parser     1.0.2.1.0     Production
    Oracle Virtual Graphics System 6.0.5.35.0
    Oracle Image 6.0.5.34.0
    Oracle Multimedia Widget 6.0.5.34.0
    Oracle Tools GUI Utilities 6.0.5.35.0
    From the given information please suggest how to know the PATCH number...

    Boris,
    this is Patch 2. There's a matrix with releases (here 6.0.8.11.3) matched to patches. Have a look at Note 74145.1: http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=74145.1
    regards
    Rainer

  • Obtaining Material number from the CRM Document number

    Hi Gurus
    From which table can I get the material number if I know the CRM document number. Which are the tables that need to be linked to get this information?
    thank you very much

    Hi,
    Using doc number you can access CRMD_ORDERADM_H-OBJECT_ID = DOCNUM.
    CRMD_ORDERADM_I-HEADER = CRMD_ORDERADM_H--GUID.
    The material is in CRMD_ORDERADM_I.
    Hope this helps.
    Best regards,
    Caíque Escaler

  • Create spool number from the report program

    Hello,
    I want to know the function module to create the spool request from report program, through which I can write the content of the internal table to spool.
    Thanks,
    Lucky

    Hi Lucky ,
    you will have to use 3 function modules in sucession to create a spool request as follows :
    JOB_OPEN
    JOB_SUBMIT
    JOB_CLOSE
    In case of any problem please get back to me.
    Regards,
    Nikhil

  • How to make the report shows only top level steps

    HI,
    I use many subsequences in my tests.  I have no interest to see them in the report.  How can I force the report to show only top level steps?
    Thanks
    Rafi

    I needed to prevent 'Skipped' steps from appearing in my reports.  One way to do this is to override the SequenceFilePostResultListEntry callback in the model.  You do this by clicking on Edit and then Sequence File Callbacks and then find SequenceFilePostResultListEntry in the list and click the Add button.
    Edit your new callback in your sequence file to check for a pre-condition.  In my case I checked for Parameters.Result.Status == "Skipped" since that parameter is set to Skipped, Done, etc. based on the result.
    If the condition was true then my only step in the callback was to set Parameters.DiscardResults = True.  The TestStand model will then throw that result away when it processes the report.  You could add a step for every type of data you wish to discard.
    A second method that is easier to implement, but time consuming, is to select each step you DON'T want in your report and bring up the Properties for that step.  Under the Run Options tab, deselect the Record Results box.  That will keep the results of that step out of the report, but you have to do this for EVERY step you don't want to have reported.  The first approach I provided acts to filter the results.
    If you aren't sure what the Parameters.Result.Status will be, then set a breakpoint after that step is executed and scan the parameters when the sequence is halted there.  You can then detect the actual text used as a result for that step, such as "Done" and can set your pre-condition appropriately.

  • How change the report graph color in teststand

    how change the report graph color in teststand?

    Michael,
    You might also be able to customize the style sheet associated with the report. The TestStand Help provides some information about how to customize ATML or XML style sheets to change report colors based on the status of test steps.
    Please take a look at the following topics; are these helpful?
    ATML Report Style Sheets
    Modifying Cell Background Color Based on Step Status in ATML Test Results 5.0 Reports
    XML Report Style Sheets
    Modifying Cell Background Color Based on Step Status in XML Reports
    Tom
    TestStand Documentation

  • How do you add totaltime for all test steps in the report

    We are using xml reporting with the horizontal.xsl.  I see the totaltime property in the xml file.  I was able to un-comment some code in the stylesheet to display the module time for pass/fail steps.  I would prefer to see totaltime for every step.
    Alternative is to write some Labview code to extract test step name and associated times from the xml.
    Solved!
    Go to Solution.

    Hello
    If you can able to understand the Horizontal xsl, it is very easy to get show the available fields in the XML in the Report. Through LabVIEW also it is possible to extract the required
    Fields from the XML, you have to design an XML Parser  in the LabVIEW to
    parse the Step Name and it's time
    Attached code (a
    sample) can able to parse the Test Step Names, give the Report XML file
    Path as input, it will parse Step Names.
    What makes me unclear is, how can you use LabVIEW to show the total time?
    AshwiN,
    Attachments:
    Parse Test Results.zip ‏39 KB

  • Is it possible to enter a serial number in the main sequence, instead of in the "Pre UUT"?

    Hello!
    Is it possible to enter a serial number in the main sequence, instead of in the "Pre UUT"?
    I still want the serial number in the Report.
    I also want the serial number as file name of the report.

    You can enter the serial number in the main sequence instead ot the "Pre UUT" but there is no reason to do that.
    if you still like to input serial number in your sequence You will need to make sure that you update the variable in the process model which stores the serial number ie. RunState.Caller.Locals.UUT.SerialNumber
    This is used to generate the report.
    the report can also contain the serial number of the uut if you select "New file for Each UUT" under Configure-Report options and in the "Report File name path"
    The format of the name of the report will be
    [123].txt
    "123" was the serial number which I entered.
    If you are not happy about the name of the file you can replace Locals.ReportFilePath to contain the right name using a statement step in the process mode
    l. If you using the default process model please make sure that you add the statement step after "Determine Report File Path" step in the Process Model.

Maybe you are looking for

  • Won't sync calender with mobileme "inconsistent data error message"

    I have tried about everything that I can think of but can't seem to solve this problem. I have a new Macbook Pro and have been using mobileme and ical for some time now. I can't get my Macbook Pro to sync with mobileme ical. It does sync with the add

  • I have an iPhone 4 on contract and its not working correctly , what should I do ?

    I have an iPhone 4 on contract , I only have this 5 and a half months and the iPhone is not working correctly and i do not have insurance .. What should I do ??

  • Images in web forms R6.0

    Leaving the client/server configuration and entering the true three-tier solution should be easy, says oracle. Then tell me how to "Create a container class extending then VBean" to invoke forms 6 to show a blob-stored jpg-file. Has anyone done it al

  • ORA-1688: UNABLE TO EXTEND TABLE IN SYSAUX TABLESPACE

    Hi, We are running oracle10g R-2 (10.2.0.2.0) on solaris 10. In our alert log file we get following message interminantely:- ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ ACTIVE_455891297_399 by 128 in tablespace SY

  • Rio evaluation

    Hello World.......... Hi i am just after getting my hands on an sb Rio and the labview evaluation kit.  the question i have it when i start on the tutorial it instructs you to open various vi's and it goes through some basic functions . This is where