TestStand 2012 Report File Location variable

Hi,
In TestStand 2010 SP1, I have the "report file path" as one of the column into the database using the RunState.Report.Location.  This has been working until I upgraded to TestStand 2012.  The RunState.Report.Location is always empty.  I also tried to use the RunState.Root.Locals.ReportFilePath but I get an error that this is an unknow variable when logging to the database.  Even when removing the <UUTStatus> from the file path expression below, there is no difference.  
I am using the following report file path expression:
"C:\\TSReports\\<UUTStatus>\\<ClientFileName>_Report[<FileDate>][<FileTime>][UUT]_<UUTStatus>.<FileExtension>"
Which variable contains the report file path in TestStand 2012.  
Solved!
Go to Solution.

I haven't tried it, but RunState.Report.Location might work if you set the New Thread option on the Report and Database to False (assuming the report is first in the list) so you can be sure that the Report has been generated before you check that value.
You have to set the Configure>>Result Processing>>Show More Options to see the New Thread options.
This should give you access to the path of the Displayed report (the one with the checkmark in the Display column). However, in TS 2012, you can have any number of reports.
There is a new callback, GetReportFilePath, you can add to your sequences to obtain the report paths as they are determined. You could store the paths in a station global or runtime variable for later use if needed.

Similar Messages

  • New-Cluster Report file location

    Hi All,
    I’m creating a cluster with new-cluster cmdlet and I need this to be a silent run.
    New-Cluster
    -Name $ClusterName
    -Node $Node1,
    $Node2,
    $Node3 -NoStorage
    -StaticAddress $IPAddress,$IPAddress2
    *>&1 |
    Out-Null
    But I can’t get around the following output: Report file location: C:\Windows\cluster\Reports\Create Cluster Wizard <servername> on 2015.04.07 At 13.32.33.mht
    I have tried it with:
    $WarningPreference 
    = "SilentlyContinue"$VerbosePreference 
    = "SilentlyContinue"$DebugPreference   
    = "SilentlyContinue"$ProgressPreference
    = "SilentlyContinue"
     $leeg
    =  New-Cluster
    -Name $ClusterName
    -Node $Node1,
    $Node2,
    $Node3 -NoStorage
    -StaticAddress $IPAddress,$IPAddress2
    *>&1 |
    Out-Null
    $leeg
    =  New-Cluster
    -Name $ClusterName
    -Node $Node1,
    $Node2,
    $Node3 -NoStorage
    -StaticAddress $IPAddress,$IPAddress2
    -verbose:$False
    -Debug:$False
    -OutVariable out
    -WarningAction SilentlyContinue
    -WarningVariable wout
    | Out-Null
    But I keep getting the following output on screen:
    Report file location: C:\Windows\cluster\Reports\Create Cluster Wizard <servername> on 2015.04.07 At 13.32.33.mht
    Best regards,
    Chris

    Hi Chris,
    this is due to non-conformance with PowerShell best practices by the coder of the FailoverCluster-Module developer.
    New-Cluster writes directly to the host and thus can't be suppressed this way.
    You may have more luck handling this odd output by running this command within a job or runspace.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • Problems with file location variables and Oracle 9i

    I'm new to Oracle and I'm seeing if I can get Oracle 9i running and do anything useful for me on a Solaris 9 platform.
    The installation of Oracle went OK except step three, creating a starter database. The installation wanted to put it on the same file system as {ORACLE_HOME} although I told the installation that I wanted {ORACLE_BASE} on another file system. So of course there wasn't enough room on the file system to make the starter database.
    I thought I'd be able to correct this after installation. I tried to make a General Purpose Database with Database Configuration Assistant but DBCA in step 5 of 7, File Location Variables still shows {ORACLE_BASE} to be the same as {ORACLE_HOME}, and no way to change that variable on this screen. Don't I want to change { ORACLE_BASE} to a file system that has enough space to make the data base? How do I change this variable? When logged in as the oracle user, I don't see it listed by setenv.
    When I ignored this setting and tried to finish DBCA, it hung.

    I looked for the {ORACLE*} environmental variables in the profile and login files of my oracle user, but didn't find that they were added by my Oracle setup. So I didn't think defining them as environmental variables would persist or overrule the global variables set at dbca run time.
    In the dbca windows, step 5 displays these global variable settings provocatively in a table, as if Oracle wants me to verify and edit them if necessary, but I keep poking at them with right mouse clicks, left mouse clicks, backspace, and delete, but all I can do is turn them blue.
    Currently when I use dbca to try to create a general purpose database, it hangs at 50% done, but not much space is used up on {ORACLE_HOME}. So it doesn't really look like the hang is caused by the disk being full. One of the processes that is hung is jre, so I thought I'd review the Oracle requirements and locations for JRE on my system.

  • Teststand 2012 temp file

    Hello
     In teststand 2010,  I am able to re-directed temp file to a different location by issue this expresion in the PostUUTLoop Calback:
    ThisContext.Report.TempFileDirectory= "C:\\tmp"
    It does not work with Teststand2012 when I set a similar expression to the PostUUTLoop callback:
    Runstate.Report.TempFileDirectory= "C:\\temp"
    Please help , it is very anoying to have report "temp" file littering all the test data record folder every where when using the viewer.
    Tphan

    Hi Tphan,
    By default, TestStand typically creates temporary files within the TestStand directory. If you are using the HTML report, there will be one TempReport.html file that is created, as detailed in the KnowledgeBase article included below. Is this the file that you are trying to move? How does your sequence react now? Does it seem to ignore the command, or is there some sort of error?
    When Does TestStand Create Temporary Files: http://digital.ni.com/public.nsf/allkb/D327A5B3227E8F40862568470008409F?OpenDocument
    Regards,
    Jason D
    Applications Engineer
    National Instruments

  • Default Report File location for BIP

    Hi Experts,
    Is there a way to change the File Location on where a BIP report is generated, whether via adhoc or a scheduled method?
    Any helpful inputs is highly appreciated :)
    Thanks!

    Hi,
    Based on my tested in my environment, I went to set the Default File Location via group policy.
    Word: Microsoft Word 2013/Word Options/Advanced/File Location/ and change the Default File Location
    Excel: Microsoft Excel 2013/Excel Options/Save and change Default file location
    Both of them works fine. As you said " However, Group Policy will set it in Excel." Does it mean that you set Word and Excel via two group policies at the same time, but it only works in Excel?
    If it is, please try to re-download and change the
    Word ADMX to test.
    If the issue still exist, please try to use Gpresult command Or RSOP to check group policy result on client.
    When troubleshooting group policy issues, we use the gpresult command to confirm whether GPOs are really applied to the client (computer/user). You can run the following command in a command prompt:
    gpresult /z > c:\policy.txt
    For more details about the usage of command Gpresult, please refer to the following link:
    http://technet.microsoft.com/en-us/library/bb490915.aspx
    When you read the output, the c:\policy.txt file in this sample, please
    examine the results of the report to find the answers to these questions.
    Does the report list the particular GPO as applied?
    Is the setting listed in the report?
    Is the GPO listed in the Denied List
    More reference:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/382c97e8-93c8-4022-b8fe-22401037d14c/forum-faq-common-steps-to-start-troubleshooting-group-policy-application-issues?forum=winserverGP
    Regards,
    George Zhao
    TechNet Community Support

  • Report File location

    Hi,
    Where does the java reporting component(JRC) look for the report source in case the CRConfig file is not present in the classpath?
    Regards,
    Anushree

    Hello Anushree,
    -When creating a report source using the Java Reporting Component, the report's path can be specified by using either a relative or absolute path.
    -When using relative paths, the path is specified relative to the location of the Java Reporting Component on the web server. For example, ../reports/sample.rpt resolves to /WEB-INF/reports/sample.rpt where the Java Reporting Component JAR file is in /WEB-INF/lib. The value of the reportlocation tag becomes the new root directory that is used to determine the location of a report.
    -If the reportlocation tag is not present, the Java Reporting Component uses absolute paths.
    -When using absolute paths, the Java Reporting Component will also look in the location of your web application's resources. For example, you can place your report into the classes folder and then specify the name of the report directly in your JSP file (with no path). In this case, the Java Reporting Component will find the report.
    -To use absolute paths, ensure that the CRConfig.xml file does not contain a reportlocation tag.
    Thanks,
    Chinmay

  • Getting Report File Path location at execution in TestStand 2012 and later

    I need to include PNG pictures into my TestStand Report (HTML, XML, ATML).
    When report generation was made through plugins (before TestStand 2012), it was easy to get report file location during execution through variable RunState.Root.Locals.ReportFilePath in order to save PNG files near the report file (in same directory).
    I didn't find yet an easy an simple way to do the same in TestStand 2012 with Result Processing Plugins.
    Any idea ?
    Remarks :
    Since this functionnality has to be included within MESULOG TS+ last version which is a TestStand Add-on, I cannot modify Report Options, Process Model or include a callback (like GetReportFilePath.
    In need ReportFilePath within a Custom Step Type which cannot wait for PostUUT or ReportGeneration to save its PNG files.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

    jiggawax,
    Thank you for you quick answer.
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[<plugin index>].PluginSpecific.Options.Directory is valid only if  
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[<plugin index>].PluginSpecific.Options.DirectoryType is set to "SpecificDirectory".
    It seems that I cannot get the complete ReportFilePath before "UUT Done" plugin entry which is after MainSequence execution.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • TestStand 2012 Custom Report Path/Name

    Does anybody know how to get a TestStand 2012 report placed in a custom location with a custom name, both of which are determined using information obtained in MainSequence? I had a method of accomplishing this in TestStand 2010, but it does not work in 2012.
    Overriding parameters in the ReportOptions callback does not work because MainSequence has not been called yet, and moving the report file in ProcessCleanup doesn't work because the report apparently has not been closed by TestStand yet, so there's nothing that can be moved
    Thanks!

    Btw, the report file not being closed during Process Cleanup is probably due to New Thread option being set for your report in the Result Processing Dialog Box (click Show More Options to see it). You can turn this option off it you want.

  • [LV - TS] How to execute a SEQ file, get the result (PASS/FAIL) and the report file ?

    Hello,
    I'm looking for the most obvious and simple way to, from Labview :
    1- Start the Teststand engine : DONE
    2- Get a list of SEQ files to execute : DONE
    3- Loop through the list to execute each SEQ file : <- found some examples but I have some trouble with the UIMessage stuff
    http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/executing_sequences_using_api_labview/
    4- Get the result of the SEQ execution : <- unsure
    5- Get the XML path+name of the report file generated : <- obviously not easy
    http://digital.ni.com/public.nsf/allkb/3D3B2358DF9B786B8625789500549A3B
    http://forums.ni.com/t5/NI-TestStand/Getting-Report-File-Path-location-at-execution-in-TestStand-2012/td-p/3041789
    Here is my current implementation :
    David Koch
     

    Hello,
    I tried to work from this example :
    http://forums.ni.com/t5/NI-TestStand/Execution-of-TestStand-Sequence-in-LabVIEW-via-TS-API-Different/td-p/2939616/page/2#M46686
    However it remains unclear about how to get a simple
    answer from just running a sequence file out of any
    model so far (Simple Pass). Like I told you, all what
    I need, once the TS engine is started, is a VI with the
    following interface :
    INPUT
    1- TS engine reference
    2- SEQ file path (path or string)
    3- Sequence name to execute
    4- UUT string (optional, but yeah)
    5- error in
    OUTPUT
    1- Result boolean (PASS/FAIL)
    2- Path to XML report
    3- error out
    It would be so cool to just have this
    About the surrounding UI, I'm working on it. The LV
    code is not really important at this point, it's running
    a SEQ file that matters to me.
    David Koch
     

  • Reporting mechanism on HTML report file, using TestStand 2012 SP1

    Hi,
    I am using TestStand 2012 SP1, where the reporting mechanism is configured to be in HTML format.
    I am not getting the full report of the sequence file which is executed, however I get a part of it printed on the HTML file.
    The following are the configured "Report options",
    ===========
    Contents Tab:
    ===========
    Report Format : HTML Document
    Default Numeric Format : %$.13f
    Include Step Result: Checked
                  Result Filtering Expression : Result.Status=="Failed"
                  Include Test Limits : Checked
                  Include Measurements : Checked
                  Include Arrays : Insert Table
                  Filter : Include All
    Include Execution Times : Checked
    On-The-Fly Rporting and Only Display Latest Results : Checked
    Select a Report Generator for producing the Report Body : DLL
    ===========
    Report File Pathname Tab:
    ===========
    Generate Report File Path : Checked
           File Name/Directory Options : Specify Report File Path by Expression
           Report File Path (Sequential Model) :
                            StationGlobals.TopLevelReportPath
                            +RunState.ProcessModelClient.AsPropertyObjectFile.​DisplayName+"Report_[<FileDate>]<Unique>.<FileExte​nsion>"
    Please let me know a solution to this problem.
    Thanks,
    Dharani

    Jason,
    Thankyou for replying.
    Yes, I need only the steps which had failed to print on the report file.
    The problem what I am facing is, if there are 10 failed steps, the report is not printed for all.
    Also the order of printing is not correct for the first step and the last step which is printed on the report file.
    I had used "Post Expression" for printing data for all the failed steps. Normally these post expressions should be printed beneath the step in the report file.
    However,
    1) For the first step which is printed on the html file, the post expression gets printed just above the step and also it gets printed beneath the step.
    2) For the last step which is printed on the html file, the post expression is not printed beneath the step.
    Please let me know if i need to provide some more information.
    Thanks,
    Dharani

  • Change the HTML Report format the same as TestStand 2010 SP1 in TestStand 2012

    I have a lot of test steps (~10K)  that gets executed and the indentations on HTML report format in TestStand 2012 gets too deep.  I have to slide the horizontal bar to the right to see the report when l'm in the middle.  I did not have this issue in TestStand 2010 SP1.  
    Is ther a way to change the HTML Report format (style) the same as TestStand 2010 SP1 in TestStand 2012? 

    dexrays:
    We are currently investigating this issue. In order to help us with the investigation could you post a sequence file and configuration that reproduce the problem? The configuration file is located in C:\ProgramData\National Instruments\TestStand 2012\Cfg\ModelPlugins\ResultProcessing.cfg for Windows Vista / Windows 7 or you can use the Cfg link in the TestStand 2012 installation directory. 
    You can use the Legacy Model Switcher (included in TestStand 2012) to use the legacy models instead of the new models. The legacy models are more backward compatible, however, this also means that you will not be able to use the improvements in the new models (for example, the new plug-in architecture). If this is acceptable then you can use the legacy model switcher to switch to the legacy models. The Legacy Model Switcher is located in the Start Menu under Programs->National Instruments->TestStand 2012->Tools->Compatibility. For more information on Legacy Model Switcher please read the online help.
    Thanks for your report and for your help with diagnosing this issue. 
    - Francisco

  • Report directory property in teststand 2012

    Hi,
    I'm trying to programmatically access the report file directory in teststand 2012, the location of which changed vs. 2010.  I found one at:
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[0].PluginSpecific.Options.Directory
    But the "[0]" tells me it's 0 probably because the report is the first item in the result processing list, and if that ever changed, my code would break. Is there another location besides the above that holds the report directory?
    Thanks
    David J.

    The problem about using [0] is that you are also under the assumption that someone has NOT reordered the list of plugins in the Result Processor list.   To fix that you could check for the name of the Plugin instead of the index.
    To do this you could utilize the ModelPluginConfiguration callback.
    Foreach { Parameters.ModelPluginConfiguration.Plugins }
     if { Locals.Plugin.Base.DisplayNameExpression == "\"Report\"" }
           Then obtain the ReportFilePath
    Now, if someone decides to delete the Report plugin, then that is another story.
    Is there someway to prevent someone from DELETING a Plugin from the Results Processor window?  I imagine privileges probably wouldn't allow a technician or operator to do this, but an admin probably still could.    When it is deleted, it does not appear in the Configuration List, I would assume.
    Thanks,
    PH

  • Crystal Report 2008 - File Locations

    I'm running out of space on the OS partition (C drive) and want to change the default location(s) in Crystal Report so when reports are created and run,  they use space on the D drive.

    Hello,
    Not exactly clear what you want? Save your reports to your D drive would be my first guess.... If you are referring to the \temp folder then change your system Environment Variable from the default to d:\temp and also change the TMP to d:\Tmp.
    You could even set your Swap file to d drive also. I suggest you contact your IT department or search Microsoft's site on how to optimize hard drive space when it's limited. PLEASE back up everything first before making changes to your swap file location, if you don't do it right you may not be able to start windows.
    Thank you
    Don

  • Getting Location of Report File

    In a Report I need to know where the Report-File is located (full path) but I didn't find any Variable or Built-In which tells me that.
    I need that to dynamically change the path of my DTD- and XML-File the Report uses. I can't hardcode that because for every customer we have the deployment may be different (directory structure).
    Any clues?

    Hello Thomas,
    Thanks for your reply. Actually I had used JavaScript to just test whether file is uploaded successfully or not (also want to confirm whether this function creates a  file in some directory of server or passes the contents of the file to server).
    According to you do I need to create a custom transformation which will take input as byte stream and return required XML output?
    I checked the SAP help which gives information about that transformation 'id'.Also I tried to included that code as
    data ?= CL_HTMLB_MANAGER=>GET_DATA(
                           request = runtime->server->request
                           name    = 'fileUpload'
                           id      = 'myfileupload1'
    IF data IS NOT INITIAL.
    f_content      = data->file_content.
    call transformation id
      source SOURCE = f_content
      result xml XML_STRING.
    endif.
    and then on view <htmlb:textView><%=XML_STRING%> but still it prints binary string itself.
    Regards
    Rajeev Patkie

  • Scheduling a report with output (excel) to file location

    Able to schedule a webi report and output format to excel and destination to file location.
    Report is running at scheduled time/interval and writing the output excel file onto file location on BO server. The issue is, its creating the file extension in uppercase (ex: testfile.XLS). Is there a way to control the file extension to be lowercase.
    Also tried to force "testfile.xls" (with extension in lowercase) in the instance title of report scheduler but still creating extension with uppercase (ex: testfile.XLS).
    Any pointers ??
    Environment - BO XIR3.1

    Hi,
    I believe you can do this by switching the view to Excel and turning off the use job server defaults. You can then enter the name and extension as well as the destination folder.
    Regards
    Alan

Maybe you are looking for