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)

Similar Messages

  • Invalid Report File Path (URGENT)

    Post Author: a_Mohammad
    CA Forum: Publishing
    Im using CR which came as a bundle with VS2005. I deployed my ASP.NET project on online server. Sometimes, When users try to load the reports, they got an error says "Invalid Report File Path" appears at the top of the report, and no data shown. If i reset the IIS, it return to work fine again.
    Usually i got this error when there is a lot of hits on the server and reports..
    Can you plz advice on that???
    Thx in Advance

    Hello Shweta,
                       Thanks for responding.  I load the report using the Report.Load(Filepath) command.  The reports are located on a seperate machine within the network.  The error occurs after the form has been loaded, parameters have been determined and margins have been set, but before the report actually gets displayed on the screen.
    Here is the last breakpoint I can find before the error occurs.
    Private Sub _RptLoad(ByVal sender As Object, ByVal e As System.EventArgs)
            If (ReportDoc.HasSavedData) Then
                Me.Close()
                Me.DialogResult = DialogResult.Cancel
            End If
            AddHandler BTNApply.Click, AddressOf _ApplyNewMargins
            AddHandler BTNSave.Click, AddressOf _SaveNewMarginOffsets
            AddHandler UNELeft.ValueChanged, AddressOf _AnyOffsetChanged
            AddHandler UNETop.ValueChanged, AddressOf _AnyOffsetChanged
            AddHandler UNEBottom.ValueChanged, AddressOf _AnyOffsetChanged
            AddHandler UNERight.ValueChanged, AddressOf _AnyOffsetChanged
            Me.BTNApply.Enabled = False
            Me.BTNSave.Enabled = False
            RaiseEvent ReportLoaded(Me, Nothing)
        End Sub
    Everything here runs fine, but if I F11 from the END SUB I get the error and cannot figure out where its going from there or what's throwing the error.
    Thank you for your time,
    Dennis

  • How to get Sequence file path In "Sequentia​lModel.Seq​"?

    Hello
    I need to get the sequence file path in "SequentialModel.seq" before the "GetReportoptions" Callback is called.
    I found that step "Determine Report File Path" in "Sequenctialmodel.seq" returns the sequence file path but i.e after executing quite a series of steps.
    i need to get  this sequence file path in the starting of "SequentialModel.seq".
    looking forward to hear from you
    Thanks n Regards
    Kulwant

    Hello Kulwant,
    try "RunState.InitialSelection.SelectedFile.Path" or "RunState.ProcessModelClient.Path" at the beginning of SequentialModel.seq please.
    Regards
    MY

  • SSIS - Change Config File Path LOCATION in SQL Agent Job Step (NOT USING DTEXEC)

    SSISers;
    I am not new to ssis but am trying to deal with promoting of ssis config files differently for a specific project. We are using SQL 2008 R2.
    As a standared pattern used for years, we just use SQL Agent, build a job step for the ssis package, add the ssis package as SQL Integration Services Package type from fileshare (not using Integration Services), and add the necessary production
    config files in the configutation tab of the job step. Easy.  We do not execute our packages with DTEXEC command line.
    A new project has the developers leaving the config files in the package - not removing the config files for deployment. Is there a way to override JUST THE CONFIG FILE PATH LOCATION in the job step for ssis package? Remember, we are NOT using dtexec. 
    I was told that /SET might do it but I do not see a good example anywhere of hooking this in and how it works for a CONFIG FILE PATH LOCATION - I see variable overrides but not CONFIG FILE PATH LOCATION. The packages were written with Absolute config file
    path and not Relative path.
    Please understand that my goal is to let them leave the packages as is, we move the config files to the production sever and all we have to do is flip the location of where the config files are sitting for the ssis pacakge to look for them.  We would
    rather NOT have to use DTEXEC command  line with the job step for reasons that I do no need to get into on this forum.
    Any suggestions are appreciated.

    Hi mg30,
    There is no way to overwrite the XML configurations file just through modifying the SQL Server Agent job steps.  The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command
    lines or other package configurations configured in the job step.
    If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations
    or modify the XML file path in the BIDS.
    If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file. 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Report File Path Directory

    How can i get the definitive report file path in teststand V3.0

    Hi,
    The report file path is generated inside of the process model. If you look at the Test UUTs entry point inside of the SequentialModel.seq, you will see a C/C++ Adapter step called "Determine Report File Path". After this step executes, the variable Locals.ReportFilePath inside of the entry point contains the full path to where the report will be saved. Let me know if this is what you are looking for.
    Ryan

  • Invalid report file path.

    I have a .NET C# Web App with embedded Crystal Reports (version 10.2.3600) running on Windows Server 2003 Standard Edition (Service Pack 2). Every few days the reports generate errors and we have to restart IIS to get them to run again. I cannot figure out what is causing the system to lock up. The error I am getting is 'Invalid report file path.' Do you know what would cause this to happen?

    this is the C# code we used to fix this issue:
    private ReportDocument CrystalRpt;
        //Declaring these here and disposing in the Page_Unload event was the key.  Then the only other issue was the
        // limitations of Crystal 11 and simultaneous access to the rpt file.  I make a temp copy of the file and use that in the
        // method.  Then I delete the temp file in the unload event.
        private ReportDocument mySubRepDoc;
        private ReportClass ReportObject;
        private string tmpReportName;
        protected void Page_UnLoad(object sender, EventArgs e)
    Try
                CrystalReportViewer1.Dispose();
                CrystalReportViewer1 = null;
                CrystalRpt.Close();
                CrystalRpt.Dispose();
                CrystalRpt = null;
                mySubRepDoc.Close();
                mySubRepDoc.Dispose();
                mySubRepDoc = null;
                ReportObject.Close();
                ReportObject.Dispose();
                ReportObject = null;
                GC.Collect();
                File.Delete(tmpReportName);
    catch
    { ...Error Handler }
    protected void Page_Load(object sender, EventArgs e)
            CrystalRpt = new ReportDocument();
            ConnectionInfo CrystalConn = new ConnectionInfo();
            TableLogOnInfo tblLogonInfo = new TableLogOnInfo();
            ReportObject = new ReportClass();
            TableLogOnInfo CrystalLogonInfo = new TableLogOnInfo();
            ParameterField CrystalParameter = new ParameterField();
            ParameterFields CrystalParameters = new ParameterFields();
            ParameterDiscreteValue CrystalParameterDV = new ParameterDiscreteValue();
            TableLogOnInfo ConInfo = new TableLogOnInfo();
            SubreportObject mySubReportObject;
            mySubRepDoc = new ReportDocument();
            //Report name is sent in querystring.
            string ReportName = Request.QueryString["ReportName"];
            // I did this because Crystal 11 only supports 3 simultaneous users accessing the report and 
            // we have up to 60 at any time.  This copies the actual rpt file to a temp rpt file.  The temp rpt
            // file is used and then is deleted in the Page_Unload event
            Random MyRandomNumber = new Random();
            tmpReportName = ReportName.Replace(".rpt", "").Replace(".ltr", "") + MyRandomNumber.Next().ToString() +".rpt";
            File.Copy(ReportName, tmpReportName, true);
            CrystalRpt.Load(tmpReportName);

  • Specify Report File Path by Expression

    TS201x Help under "Specifying Report File Paths by Expression" talks about  using a number of various macros, but starts the page showing how to also use FileGlobals. When specifying the expression (... >>Specify Report File Path by Expression>>Expression Browser), I'd like to combine macros with FileGlobals, but none of the FileGlobals are listed i.e. available. The expression builder has access to the StationGlobals though, but not to the FileGlobals.
    Is there a workaround, or at least an explanation, for this behaviour?
    Cheers
    Solved!
    Go to Solution.
    Attachments:
    Specifying Report File Paths by Expression.pdf ‏247 KB

    Thank for your quick reply!
    So, I created the expression in the >>Specify Report File Path by Expression>>Expression Browser, using FileGlobals.MyReportName as per your suggestion.
    Here, as expected, I got the first two error messages shown in the attached pdf.
    I also made sure that my sequence has the FileGlobals.MyReportName defined.
    When I run my sequence, I get the third error message shown in the attached pdf. I'd say this error message is also expected, since the non-listed FileGlobal
    referred to in my expression created above, never reaches NI_ReportGenerator.seq i.e. modelsupport2.dll. Or perhaps I completely missed a point in your message?
    In any case, please reply if you get a chance.
    Cheers
    Attachments:
    Specifying Report File Paths by Expression - Error Messages.pdf ‏113 KB

  • Invalid report File path-crystal report

    Hi Every one,
    I created Crystal Layout for GRPO PLD.When I am trying to import it is showing 'Invalid report file path',But it is working fine in another server.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    Not sure below SAP note related to above issue:
    1710613 - CR_Multiple Data Sources Not Recognized After Importing
    Multi-Database Crystal Reports
    1668274 - Print Draft with Crystal Layout
    Thanks & Regards,
    Nagarajan

  • How to get the file path from HTML input form in Firefox3

    In IE7 (and probably all famous browsers, including old Firefox 2), if we submit a file like 'C:\folder1\folder2\folder3\filename' it works properly and gives the full path to the file and the filename.
    In Firefox 3, it returns only 'filename', because of their new 'security feature' to truncate the path, as explained in Firefox bug tracking system (https://bugzilla.mozilla.org/show_bug.cgi?id=143220)
    I have no clue how to overcome this 'new feature'.
    Can anyone help to find a single solution to get the file path both on Firefox 3 and IE7?
    Thanks in advance....

    Doubleposted and ignored any previous answer: [http://forums.sun.com/thread.jspa?threadID=5342405]. Don't do that. It's rude.
    Regarding to your "problem": why do you need the file path?

  • How to get the file path from HTML input form in Firefox 3...

    In IE7 (and probably all famous browsers, including old Firefox 2), if we submit a file like 'C:\folder1\folder2\folder3\filename' it works properly and gives the full path to the file and the filename.
    In Firefox 3, it returns only 'filename', because of their new 'security feature' to truncate the path, as explained in Firefox bug tracking system (https://bugzilla.mozilla.org/show_bug.cgi?id=143220)
    I have no clue how to overcome this 'new feature' because it causes all upload forms in my webapp to stop working on Firefox 3.
    Can anyone help to find a single solution to get the file path both on Firefox 3 and IE7?
    Thanks in advance....

    As you're posting this in the JSF forum and looking at your [previous topic|http://forums.sun.com/thread.jspa?threadID=5342365], I assume that you're using Tomahawk's t:inputFileUpload. In this case, just use UploadedFile#getInputStream(). You may find this article useful: [http://balusc.blogspot.com/2008/02/uploading-files-with-jsf.html].
    By the way, are you lazy or just dumb? You wasted one week to this! I've posted the aforementioned article one week ago. How did you stuck?

  • Function module to get the file path in the system for TEMP folder

    Hi All,
    Is there any function module that I can use to get the file path in the system for TEMP folder.
    I mean, i am supposed to give only TEMP as the input for that function module and I need to get the path of that in the system as the output.
    I am unsing 4.0 version.
    Please advice.
    Regards
    Ramesh

    In Higher versions, we can use the below code:
    call method CL_GUI_FRONTEND_SERVICES=>ENVIRONMENT_GET_VARIABLE
        exporting
          VARIABLE   = 'TEMP'
        importing
          VALUE      = LV_TMP
        exceptions
          CNTL_ERROR = 1
          others     = 2.
      if SY-SUBRC <> 0.
        message id SY-MSGID type SY-MSGTY number SY-MSGNO
        with SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
      call method CL_GUI_CFW=>FLUSH
        exceptions
          CNTL_SYSTEM_ERROR = 1
          CNTL_ERROR        = 2
          others            = 3.
      if SY-SUBRC <> 0.
    Error handling
      endif.
      concatenate lv_tmp '\' into folder_path.
    But need to know in the lower versions like 3.1h and 4.0,

  • How to remove file path location listings from photos and objects in Acrobat Pro 9.0 PDF?

    After converting a windows-based Powerpoint 2007 presentation to an Acrobat Pro 9.0 PDF, the file path location of all photos and objects are shown in a dialogue box when the cursor is moved over the image as seen in this screenshot below. How can I stop this from happening and remove this feature on my pdf documents? 

    I saw that referenced on a forum, but it does not seem to address the issue I am having.
    As per Adobe Acrobat X Standard * What’s new, the equivalent to the "Tools > Protection > Remove Hidden Information" utility found in Acrobat X Standard is the same as the "Document > Examine Document" feature in Acrobat Pro 9.0. Those tools seem to cover meta data, book marks, hidden text, and deleted or cropped content, but not the file path listings that appear on images and objects converted from Powerpoint presentations and other MS Office programs.
    I have reviewed the settings used while creating a pdf, and have also tried the “Advanced > Preflight tool”, but could not find anything to apply to the issue at hand.
    Thus, this issue has not been resolved, but seems like it should be an easy fix that anyone who publishes pdf documents would want to use to publish clean, professional documents without anyone seeing the file path location of every object and image shown in the document on their hard drive.

  • How to get full file path while uploading a file in flex Applications

    How to get full file path while uploading a file in flex applications.
    FileReference Object is giving file name and other details but not the actual path.
    Is there any workaround to to get the file path?.
    Thanks

    Why not ask in the Flex forum; it is more likely that someone over there knows.

  • How to get physical file path from logical file path

    Hi
    there is a immediate requirement ,
    I have logical file path but I need to get physical file path from it.
    So is there any FM which providesthis functionality.
    Points will be rewarded.
    Thanks

    Can you please share the piece of code ?
    Which File APIs are you using ?
    For java file, you can get complete path by simple method call : getAbsolutePath() on file object.
    Regards,
    Ashwani Kr Sharma

  • Problem in Loading - Invalid Report File Path

    Post Author: a_Mohammad
    CA Forum: .NET
    Im using CR which came as a bundle with VS2005. I deployed my ASP.NET project on online server. Sometimes, When users try to load the reports, they got an error says "Invalid Report File Path" appears at the top of the report, and no data shown. If i reset the IIS, it return to work fine again.
    Usually i got this error when there is a lot of hits on the server and reports..
    Can you plz advice on that???

    Hello ,
    The formula must always return some value. When a conditional test produces no result and this code is responsible for the RETURN in a formula, the error occurs. Make sure that the condition returns a value in all cases (trap errors).
    Example:
    Problem code
    function CF_1Formula return Number is
    begin
    if :deptno = 10 then
    return(10);
    end if;
    end;
    If deptno is not 10 , this does not return any value .
    Correct code
    You can write the function as:
    function CF_1Formula return Number is
    begin
    if :deptno = 10 then
    return(100);
    else
    return(200);
    end if;
    end;
    Thanks
    The Oracle Reports Team

Maybe you are looking for

  • Numbers loose connection with the server (osx server 10.6.8)

    Hello, I use numbers application on an iMac under 10.6.8, all updates done. The files are written to a intel xserve under 10.6.8. Here's my problem: When i use a file on the server, from time to time, numbers tell me that the connection to the server

  • Problem in Sales Order Credit Memo

    Hello All, The problem is related to item category ZTAN where we have changed the Completion Rule to B and in VTAF ( Bill to Order Copy Control) under Item details for Credit Memo Request for example from Domestic Invoice to Credit Memo we changed th

  • PowerPoint 2013 - We're sorry something went wrong...

    We've recently upgraded to Office 2013 Professional Plus from Office 2010. Our Workstations are Windows 7 x64 SP1 and this issue is happening on freshly built machines and established installs. When a limited user creates a new presentation, launches

  • Regarding Authorisation for Display

    Hi All, 1.Initially I was unable o navigate o one particular component in Loyalty Frame work and found Basis people giving authorisation based on Component Access ,So given Component name and Inbound Plug  name  and now I was able to navigate to part

  • Can we write function in a trigger??

    Can we write function in a trigger??