Changing Step Name in XML Report programmaticaly

I am trying to change the step name programmaticaly in TestStand to reflect in the XML report. The step is executed several times in a loop, and every time the loop runs I want the step to be named differently in the XML report. For example, the names will be something like this < Test1: Signal Name 1>, <Test2: Signal Name 2> ....etc. Any help on this will be appreciated .
Thanks,
Sam

Hi,
The best time to change the name is before you perform the test, then it will get inserted in the ResultList and hence into your report.
I have attached one way of doing this. You can also perform it after the Step you wish to change, in which case you would use the RunState.PreviousStep as a reference.
You could call the API method as part of your code.
Remeber, if you use a PropertyLoader to load Limits, and you have placed this inside the loop, then your Limits file for the Step Name must match the new step name not the old one that you see statically.
This is a TS3.5 example.
Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
Attachments:
Sequence File1.seq ‏25 KB

Similar Messages

  • Is it possible to change the name of a report thanks to the report painter

    Hello,
    Is it possible to change the name of a report thanks to the report painter GRR2?
    Thanks!
    SB

    Hi,
    First of all, it's possible to change a report description(title), if that what's you mean. If you want to change a code(name), then indeed you have to copy your report under a new name. To delete the report, first delete it from the report group (via GR52) and then you will be able to delete it.
    Regards,
    Eli

  • Change MessageType name in xml file

    Hi experts,
    I have developed a receiver interface that creates an xml file and put it on an external server.
    Now other side says that this tag:
    <ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
    is not correct, they want another description:
    <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
    My question is: is possible to change MessageType tag in xml file without changing the message type structure name in Integration Repository?
    thanks
    fabio

    use another mapping which has the target  MT as  <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
    Add this mapping after the original mapping in your interface/operation mapping.
    This will be the easiest way to handle this requirement as you will only need to do a one to one mapping.
    Another option will be to write a java mapping to do a simple replace function for the string <ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice"> to  <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">

  • Database, custom step types, ann XML report issues...All in one

    TS3.0
    Have a number of issues to do the above. I'll try and explain them in order. I'm sure there all linked, but can't figure out how...
    The "Custom" Steps.....They are copies of the NI Numeric/Multiple Numeric tests, with a added post step to translate the error code into something meaningful.... No big deal.
    XML Issue
    When the report is generated the the Multiple numeric saves fine(See Multiple.txt, the step is of numeric type, all is well). However strange things happen in the Numeric test. see "Simple.txt" for a snipit of the result file. As you can see the "error code" contains the measurement. Why....?
    Also in the XML the result seems to be reported as a normal step(like an action) and not a numeric test....
    DATABASE Issues
    Now when loggin to the standard DB that ships with TS, with the 1 change to the tables, to record our custom types in the DB. Everything works fine and is recorded untill the 1st instance of a skipped "Custom_MultipleNumericLimit Test" , at which point the DB (Microsoft Access) throws a wobbly(error message) and states that "No such col exsists". When the DB is looked at everything is recorded upto the point where a skipped Custom Step happend(and the error message). When the custom type is run normally(ie not skipped), the resutls are recorded fine, no problems.
    Can't get my head around whats going on. I've check the property flags, and as far as I can tell every thing is in order for these custom steps(ie they look the same as the TestStand steps they are based on). It records fine in the XML.
    Attachments:
    Zip file with XML snipits.zip ‏1 KB

    Can you be more specific details about your database problem, specifically:
    1) the changes that you made to the default schema
    2) the changes that you made to the database tables
    3) the entire error message text for the logging error
    Scott Richardson
    National Instruments

  • Changing file name produced by Reports

    Does anyone know where you can change the default file name generated when you specify an output format of Excel for a Portal Report.
    The default I am getting is schema.reportname.show which is not .xls as I expected.

    Jenny,
    The solution is to have a filename something.xls. i.e the url is http://myserver/pls/portal30/something.xls
    you can create a procedure called xls in
    the package generated by your report. The
    procedure doesn't do much, it just does
    a redirect to the report (w/p_format_out = EXCEL').
    that should do the trick. The problem w/this
    approach is that now you have a maintenance burden

  • Change Sheet Name for Excel Report?

    Hi,
    When I create an Excel report out of BI Publisher, the sheet name always matches the file name. For example, if I save the file as test1.xls, when I open the spreadsheet, the sheet's name is "test1". I would like the sheet name to be different from the file name. It doesn't look like BI Publisher has an option for that specific need. So, I looked at the xls file in a text editor and noticed it was HTML...and I don't think there's something I could tweak in the HTML to make the sheet name differ from the file name...is there?
    Any ideas for my problem?
    Thanks...
    Kevin

    Hi Serguei
    You will have to change the Excel sheet name manually after exporting the report.  You cannot retain the report name to the Excel sheet after exporting.
    Regards
    Girish Bhosale

  • How to dynamic change Step Name?

    I have a step inside For Loop. I would like that step have different name related to loop Number. how do I do it?
    For example
    In Test stand,
    for i=0; i++;i<10
    stepnamei
    end
    So in this way, If the step fail, I could know on which loop it fails.
    Please advise on it.

    Hi,
    try this example
    link
    Regards
    Ray FarmerMessage Edited by Ray Farmer on 04-04-2005 07:47 AM
    Regards
    Ray Farmer

  • Run report from forms - Cannot change file name in report node

    I am running a report (9i) from forms (9i) and I changed the name of the report in the filename field in the report node (in object navigator).
    I noticed that I get the error FRM-41214 on the RUN_REPORT_OBJECT line when I run the form, if I've changed the filename from what it originally was. e.g. It was originally rep44.rdf and I changed it to rep55.rdf, but I get this error unless I keep the rep44.rdf filename. Why? Is there somewhere else I should change this filename?

    To view the reports queue open this URL:
    http://<server>:<port>/reports/rwservlet/showjobs?server=<repserver>
    Also, try running the report stand alone, not from Forms.
    http://<server>:<port>/reports/rwservlet?server=<repserver>&report=rep55.rdf&userid=<un>/<pw>@<db>&destype=cache&desformat=PDF

  • Change the name of report painter report

    HI,
    I have created an operating exp report by cost center and named it as "Op exp by CC". Now I want to change the name of the report to "Op exp by CC dtl".
    How can I do this?
    Please help me out with this.
    Regards,
    Nitish

    from KE30->pick report->goto menu item Report--->Change here u can change any thing.
    if u are not using Ke30 , let me know where  u are seeing ur report.
    Regards
    Prabhu

  • Change the name of the universes in several reports

    Hi,
    We have thousands of DESKI reports which are pointed towards erroneous universes.
    I must make following tasks:
    1- to change the name of each report.
    2- In each report, to check out if there is only one or several data providers.
    3- For each data providers given to modify the universe towards which it is pointed.
    The manual solution is very long to make, I seek a solution to automate these tasks to make more quickly so that the users are not very penalized.
    Thank you for your help

    Hi Paul,
    You may want to resubmit your question to the "Business Intelligence (including SAP BusinessObjects and SAP Crystal Solutions)" section of the forum.  This particular forum is more for data integration and quality using the Data Services product.
    You can find that BI-related forum from the root SAP Community Network Forums.
    Chuck

  • Changes to Asset Master Record Report (S_ALR_87012037)

    This are my data field selections:
    Company Code
    Marked "Display new assets also?" radio box,
    Date change
    Changed by name
    Execute
    The report display incorrect change documents. Asset were been displayed has deactivated, but the asset is still active.
    (program: RAAEND01)
    Appreciate any help. thx

    Larry,
    I'm not sure I fully follow your problem statement.
    Is it that Assets which actually are active are being shown as deactivated by this report?
    If this is the case, then I suggest you go to AS03, and have a look at that particular Asset and see the Change documents from there. That might give you better idea why the system is behaving in this fashion.
    IMO, standard SAP transactions are quite rarely wrong
    Remember to assign points if found useful.
    Regards
    Gulshan

  • XML Report displays Parameters instead of variable name

    I would like the actual variable name to be displayed in the XML report instead of "Parameters".  I have tried many things to make this happen with no success.  Any ideas?
    Solved!
    Go to Solution.

    Hello kwkengineer,
    What type of step are you utilizing, and which version of TestStand are you using?  I tried reproducing this behavior in TestStand 2012 with LabVIEW 2012 using a LabVIEW action step, passing a cluster of boolean arrays, and the result was the following:
    The parameters were set up as follows:
    Please let me know more details about your particular step, and I will try to reproduce the problem on my side.
    Warm Regards,
    Daniel D.
    National Instruments
    Automated Test Software R&D

  • Dynamic change of PropFlags_IncludeInReport doesn't change data in XML report

    Hi,
    I have tried to change the contents of my XML report generated in TS3.1 by changing the PropFlags_IncludeInReport. This works for some simple data types like numericteststep where I have removed the limits and step result from the report if the step pass. This is done from LV7.1 where I have created a reference to the step properties and then changed the flag with the GetFlag Property and SetFlag Property. I have posted a HTML (easier to open remote) example “MIGAExcludePassStepLimitsFromHTML.html” & a picture that shows the step structure “NumTestStepStructure.jpg”.
    But it doesn’t work when my data type is getting more complicated. See CustomTestStepStructure.jpg. In this case it’s an array of containers (measurement - custom data type) that contains some containers (limits and channel – custom data type). I have removed the PropFlags_IncludeInReport on all the custom data types (in the top of the tree) except on some of the items in the last type in the tree (Status, Read.Voltage_V, Limits.Voltage_High_V, Limits.Voltage_Low_V…).
    The XML style sheets doesn’t show my data when I remove the PropFlags_IncludeInReport of the Measurement Array (if it’s on all the sub-properties are shown. Not wanted because off the size). I assume it’s a bug (shows data in HTML) if some data in the structure has this flag enabled?
    I can see in the source of the XML report that the flags are added to each property. These flags have the correct value from the custom data type, but the style sheets can’t show them correctly. It’s possible that NI will make a fix to this problem?
    I have also tried to change the PropFlags_IncludeInReport on my custom step properties from LV7.1 like above. But my changes of the flags dynamically aren’t included in my XML report (new flags aren’t added to each property). Why? Is it because of the data type? Is it because I do it in a Post Step? Is there a solution?
    I am looking forward to hear from you,
    Best Regards,
    Morten Pedersen
    CIM Industrial Systems A/S

    Hi,
    I have posted some sequences for you. Extract to C:\. The only difference in these seq-files is the PropFlags_IncludeInReport flag for the Result.Measurement property in the custom step type called MIGA_DCPower_HM7044.
    Try to run the sequences. With XML report enabled. In the beginning of the CimHamegTest_MainTestSequence there are some numeric limit test step that in the run code enables or disables, with the SetFlag Method, the result, limits and comp depending on the test pass or fail. Works fine.
    But there are problems in my custom step types that are executed after. The different sequence files shows the first problem. If the Flag mentioned in the top is disabled no sub data is include besides their flags is set to IncludeInReport. In the source code of the XML the flags are correct, but the stylesheet can’t show them.
    The second problem is when I tried to change the flag dynamically. This is done in a post step for the custom step type called MIGA_DCPower_HM7044. This vi disables all the low voltage limits. I use for e.g. this look up string for that: Step.Result.Measurement[0].Limits.Voltage_Low_V. These changes aren’t included in my report. Both the HTML and XML would not show or change it.
    I hope this will show you the problems and hopefully help me.
    Best regards,
    Morten Pedersen
    CIM Industrial Systems A/S

  • How can I change the name of the step name on the fly w/o using activeX API

    I would like to change the name of a step just for the report generation. The sequence file should not be changed. I was able to change the step name with the activeX API, just looking for any other solutions that wouldn't involve adding another step.

    Hi,
    since the report generation is done from the ResultList, you coudl simply alter the data stored in the Locals.ResultList (which ever is the appropriate result element in here) to reflect what you want the step name to appear as.
    This could be done through an expression, or a statement step.
    e.g. Locals.ResultList[0].TS.StepName = "New name"
    Just an alternative.
    S.
    // it takes almost no time to rate an answer

  • Data filtering in XML report with out changing the underlying query

    Hi, This is Nagesh and from Verizon.
    I'm testing Query based XML report in Peoplesoft 9.1 app with tools version 8.5.
    I'm trying to filter the data on XML Report template with out changing the underlying PS query. I mean filter the data on the report to only specific accounts though the underlying PS query query return transactions booked to all Accounts for a given Legal Entity. Is it possible. any advise or idea is highly appreciated.
    Thanks
    Ages

    If the value is not of importance how come it became obligatory in your program?
    Any how you can do one thing...Put some value in your obligatory field, put a debugger point where you are interested in  and use the pencil tool to change the value of the field while debugging. 
    Regards,
    Philip.

Maybe you are looking for

  • Application Data Publication node not appearing in Jdeveloper 11.1.1.4.0

    Hello, I am using Jdeveloper 11.1.1.4.0. In Jdeveloper Help->Check for Updates, I uploaded ADF Mobile Client Version 11.1.1.4.38.59.46 (adfmc_bundle.zip). I am following this tutorial. http://www.oracle.com/technetwork/articles/bors-adfmobile-086867.

  • Pages-PDF-Pages

    I converted a pages doc into a PDF how do I get it back without messing up the formatting?

  • Saving adobe form data to XML

    Am trying to see what happens when user fills in adobe form and clicks submit. What will be sent back to server? Filled PDF or XML? If its XML, does it get stored on the user's machine in some temporary files?? If not, atleast where does it get store

  • Bing Search button does not load Bing App!!!!

    When I press Bing search button which is on the right side of Windows button, it loads the IE desktop version of Bing instead of the Bing App. I tried with some setting chage in Region+Language and Location as per Microsoft Answer blog but all went i

  • Install skype - error (executable is corrupted)

    Hi, i am using skype for long time in my laptop, it worked properly and normally before.. until i got update message to update the skype.. after the update (not sure the update finished or not) i got message "error: Unfortunately the skype executable