How to create result file path and name in teststand

Hi, 
I would like to create specific path(folder) and file name to result files. For example ..\date\ArticleNr\DateTimeSerialNr.xml.  Thank you very much in adance.
Kri. 

Kri,
You can use Configure >> Report Options, and then select the Report File Pathname tab to configure where your reports will end up, and what the file name will be. If you want to have these be different for each sequence, then add the ReportOptions Callback to each sequence and then modify the settings in the Parameters.ReportOptions container to what you want.
This link may also be helpful as it talks about what you're are trying to do: Report File Name
-Jack

Similar Messages

  • What is the correct way to format file paths and names in the structapp file?

    I am trying to create a structured application to export fm files as xml, and probably read the xml back to fm.
    In the structured application file (structapp), I need to specify the locations of the various files (DTD, read/write, template, etc). I would like to place these files on a shared server so others can use the same structapp file (that is, a cop of it). What is the correct way to format the file paths and names? Can folders folder names and file names have spaces in them? I tried the following, for example:
    \\serverName\shareName\folder 1\folder 2\file name.dtd
    I use the same format for the template file and the read/write rules file.
    When I try to save an fm file to xml, FrameMaker says that it cannot read the DTD; however, the resulting xml file appears to be well-formed. The DOCTYPE element in the resulting xml is formatted with forward slashes and spaces replaced with %20.
    I tried using forward slashes and replacing spaces with %20, but then I get an error about reading the read/write rules.
    NOTE: I have another structured application to read xml into fm. This application does not have a DTD file. The template and read/write rules files are specified as above. Except for complaining about a lack of a DTD, the application works fine; it even applies an XSLT in the process. Again, when I DO add a DTD to this latter application, I get the same complaint about not being able to read the DTD.
    I am using fully patched FrameMaker 9 in Windows XP.
    Thanks,
    Van

    Hi Van,
    The XML parser and FrameMaker are not the same thing. The Error Log says which component created which message. The XSL processor is another option that can throw messages. The "\\server\path\some.dtd" syntax in structapps.fm seems to be fine for some tools, as Internet Explorer with XML tools successfully finds the DTD which appears as "//server/path/some.dtd" in the XML. But apparently Xerxes, the XML parser bundled with FrameMaker, does not like this notation.
    If you have a path with a drive letter, "H:\path\some.dtd", FrameMaker turns that into "file:///H:/path/some.dtd". It seems, Xerces would like to see "file:/" in front of absolute paths.
    This is what I have in structapps.fm:
    Template: \\server\path\projecttemplate.fm
    DTD: some.dtd
    Read/write rules: \\server\path\projectrules.txt
    DOCTYPE: …
    Entity locations
      Entity search paths
        1: \\server\path\
    In the structapps.fm I have the DTD without path information. The resulting XML (without XSL postprocessing) then contains just the file name with a relative path back to the book folder (when saving a book as XML). It therefore requires the DTD to be available at this place. I handle this using an event script that fires for NotePreSaveXml and copies the DTD to the folder of the original document.
    As I always use XSL postprocessing and using XSLT1 it is not possible to have the doctype-system as a parameter I have this in my XSL stylesheet:
    <xsl:output doctype-system="some.dtd" />
    For the resulting XML the DTD is expected to be in the same folder as the XML file. This is handled by the same event script as above, it therefore copies the DTD to the source and the target folder.
    Bottom line: If you want/have to use UNC paths, you have to do some programming to work around a FrameMaker bug.
    - Michael

  • File Path and Name field does not display correct path

    We are using Crystal 2008 along with VS 2005. We embed the special "File Path and Name" field  inside our report and it displays the correct path when viewed inside Crystal reports:
    C:\Program Files\reports\Chart.rpt
    When run through the web and viewed in the DHTML viewer, the file name and path appear as follows:
    C:\Windows\TEMP\Chart {02152A43-3339-4C03-A50A-E281E1D391AF}.rpt
    How can this be corrected?
    Thanks in advance for any assistance.

    This is a known issue tracked under ADAPT0000962216. At this time I do not know when this will be resolved, however Service Pack 2 for CR 2008 is targeted to be released by September and this may contain the fix.
    Ludek

  • Get (variable) file path and name in a text element

    How do you get the (variable) file path and name in a text element (label) in LCD? If you save the PDF and afterwards relocate it, it should update the values. Is that actually possible?

    Does anyone have any advice on this issue?
    Thanks in advance,
    Zack H.

  • "File Path and Name" field not displaying correctly

    Post Author: DaveWoo
    CA Forum: General
    Hello,Here's my situation: I'm currently upgrading from Crystal Reports for Visual Studio .NET 2003 to Crystal Reports for Visual Studio 2005. I have several reports (programmatically generated using VB.NET) that use the "File Path and Name" special field. Now, in the old version of Crystal Reports (2003), the field properly displayed the original file path and name; however, in the new version (2005), the field displays as "C:\DOCUME1\Username\LOCALS1\Temp\Filename{F2459406-3719-4C8B-917C-4A7055A18C76}.tmp" - in other words, the location of the temporary .rpt file.How do I get the "File Path and Name" field to correctly display the path & name of the original file, like it did in the prior version?- Dave

    This is a known issue tracked under ADAPT0000962216. At this time I do not know when this will be resolved, however Service Pack 2 for CR 2008 is targeted to be released by September and this may contain the fix.
    Ludek

  • File Path and Name

    Hi everyone,
    I am scheduling reports in Crystal Reports Server.  My reports contain the "Special Field" File Path and Name.  However, when the report is sent out via CRS, it prints a different location of where the report actually resides.  In CRS, how can I make the file path and name field print the actual location of the report file rather than a rogue location?
    Thanks in advance,
    Zack H.

    Does anyone have any advice on this issue?
    Thanks in advance,
    Zack H.

  • FTP adapter should take file path and name at runtime..

    Hello All,
    I have requirement of getting the file from remote machine into local machine..thinking FTP adapter should help me to do this..
    I dont need to poll the remote directory. rather I will pass the exact path and name of the file to be fetched during runtime as an input to the bpel process.
    How to configure the FTP Adapter to receive the file path runtiime and gets it to local machine.
    Is it doable using ftp adapter..?
    Thanks
    Saikrishna

    Hello Anne,
    Thank you for the help.
    I am not able to call a adapter partner link using invoke activity..I am facing variable type conflicts.
    modified the
    OutboundFtpHeaderType wsdl to take file name and directory as:
    <complexType>
    <sequence>
    <element name="*fileName*" type="string"/>
    <element name="*directory*" type="string"/>
    </sequence>
    </complexType>
    Using Adapters tab of Invoke activity created a variable:
    <variable name="outputVariable"
    messageType="client:FTPadapterResponseMessage"/>
    <variable name="*filePath*" messageType="ns2:OutboundHeader_msg"/>
    Using Assign Activity, assigned the input varibales to the ftp outboundHeader variable:
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:FTPadapterProcessRequest/client:*directory*"/>
    <to variable="*filePath*" part="outboundHeader"
    query="/ns2:OutboundFTPHeaderType/ns2:directory"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:FTPadapterProcessRequest/client:*filename*"/>
    <to variable="*filePath*" part="outboundHeader"
    query="/ns2:OutboundFTPHeaderType/ns2:fileName"/>
    </copy>
    </assign>
    Used the created variable in the invoke activity as a input paramater to the partner link:
    <invoke name="Invoke_1" partnerLink="ftpAdapterTest"
    portType="ns1:SynchRead_ptt" operation="SynchRead"
    inputVariable="*filePath*" bpelx:inputHeaderVariable="filePath"/>
    <reply name="replyOutput" partnerLink="client" portType="client:FTPadapter"
    operation="process" variable="outputVariable"/>
    I am getting an error in invoke activity:
    Variable type does not match the input type.
    Thanks
    Saikrishna

  • Create logical file path and read it in main program

    Hello Experts,
    My requirement is, I have to read files from application server.
    File path/ Directory is different in different system (systid). i have to read all files starting with (xyz*) from mentioned directory.
    This path i must define in logical path.
    Following are the steps i followed.
    1)   In FILE (TCODE) i have created a logical path and assigned a physical path to it.
    2)   I have created logical file ( I am not sure about this, as i dont have to create logical file, i just need to read file from above path starting with xyz*,  but FM FILE_GET_NAME requires logical file name so i have created it).
    3) I will pass logical file name to FM FILE_GET_NAME and recieve physical file path(with file name which i can ignore).
    these all steps i found on SDN. but its not working.
    FM FILE_GET_NAME is always returning same file path ( Not even close to what i have defined ).
    I can not read data from Table path as it will return physical path as it is, but i need it replaced with system id.
    Any suggestion will be really helpful.
    Thanks in Advance.
    Regards,
    Amar

    Hi Amar,
    one difficulty defining physical path name is to know the right Syntax group.
    For example if you habe OS Linux, you need Syntax Group UNIX here. In Table OPSYSTEM you can see, which OS (OPSYS) needs which FILESYS (Syntax Group).
    If you always get a wrong physical path, this may be caused ba a wrong choice of the Syntax Group. Only the correct one will lead to the correct path.
    Regards,
    Klaus

  • Function module for logical file path and name

    Hello all,
    I am wondering is there any function module available to translate a logical file path to a physical file path and a logical file name to a physical file name? Thanks a lot!
    Regards,
    Anyi

    Please check the FM FILE_NAME_GET.
          CALL FUNCTION <b>'FILE_GET_NAME'</b>
             EXPORTING
               logical_filename = 'ZDELCHKREP'
               parameter_1 = it_cntry-cntry
             IMPORTING
               file_name        = l_file
             EXCEPTIONS
               file_not_found   = 08.
        CALL FUNCTION <b>'FILE_GET_NAME_USING_PATH'</b>       EXPORTING
             logical_path = 'ZDELCHKREP'
             file_name = l_file
           IMPORTING
             file_name_with_path = l_file.
    Message was edited by: Anurag Bankley
    Message was edited by: Anurag Bankley

  • How to create new file extension and associate an application with it?

    Hi,
    I want to create a new file extension named ".emsof" and
    associate any text editor with it like notepad++ in windows 8.1
    Moreover all of these files should be searched by having filter of "*.emsof" like any other ordinary files.
    Please guide me about hoe to do it?
    Thanks.

    Hi BurrWalnut,
    Thanks for the help.
    Will this command also allow me create and save file with .emsof extension and  to filter files through .emsof extension (Like we can filter through .doc or .txt extension)???
    1. I don’t know what you mean by ‘filter’. In your initial post you mentioned searching, if that’s what you mean, you can search for any extension.
    2. An easy to understand example of the assoc and ftype commands is a .txt file, which we all use in Notepad:
    Typing assoc .txt in a cmd prompt will return txtfile (the file type).
    Typing ftype txtfile will return %SystemRoot%\System32\notepad.exe %1 (the full path of the program and %1 representing a passed parameter).
    Alternatively, look in the registry hive HKEY_CLASSES_ROOT for .txt and further down for txtfile.
    3. If you add an entry that is later unwanted, you can easily delete it by typing assoc .emsof= and pressing Enter. Then delete the filetype by typing ftype myext= and pressing Enter. You can, of course, just delete the entries in the registry (nor recommended
    for beginners).
    4. Test it out now but be aware not to use extensions or filetypes that currently exist.
    5. Display all extensions and their associated file types by firstly copying the following 4 lines:
    assoc >"%userprofile%\desktop\assoc.txt
    start notepad "%userprofile%\desktop\assoc.txt
    exit
    cls
    Press the Windows Logo key+X (or right-click or press and hold the bottom left corner) and choose Command Prompt/Windows PowerShell (Admin). Using the mouse right-click, paste the 4 copied lines to the Command Prompt window. A .txt file is created on the Desktop
    and Notepad will open and display the list. The list represents the registry keys located in the merged HKEY_CLASSES_ROOT. In the left pane, look for the extension, for example .txt. The (Default) field in the right pane contains the file type, e.g. txtfile.
    6. Now display all file types and their associated programs by substituting the above 4 lines with these:
    ftype >"%userprofile%\desktop\ftype.txt
    start notepad "%userprofile%\desktop\ftype.txt
    exit
    cls
    Another .txt file is created on the Desktop and Notepad will open and display it. This list represents the registry keys in HKEY_CLASSES_ROOT further down beyond the extensions. Look for the file type, for example txtfile, then click or tap shell\open\command.
    In the right pane, the (Default) field shows the full path of the program that opens it, e.g. notepad.
    7. NOTE. In operation, any keys in HKEY_CURRENT_USER\Software\Classes (current user) take precedence over those in HKEY_LOCAL_MACHINE\Software\Classes (all users) and both keys appear as the merged HKEY_CLASSES_ROOT. Any changes should be made to HKCU and
    HKLM. The HKEY_CLASSES_ROOT keys are intended to be read from, not written to.

  • How to create a file path in OS X Mavericks that works like a link.

    Hello,
    In earlier OS, I was able to copy and paste file path (which becomes a link) into an email. Once the recipient received the email, click on the link and takes directly to the location of the file. Since I've updated to OS X Mavericks, copy and paste with link intact doesn't work.
    Is there a work-around to this problem.
    Thanks!
    sntm

    Hello,
    I've tried the option key but don't see the selection "Copy Link"
    See below:

  • How to create open file dialogbox and get path of selected file?

    Hi Experts!
    i want to use button like browse button. so that i can select image from that and display selected image in imagebox and the path is to be display in edit text.
    Thanking you
    vishwajit kumar

    Hi
    Use this code , for this you must include Imports System.Windows.Forms name sapce
    Private FileName As String
            Public Function showOpenFileDialog() As String
                Dim ShowFolderBrowserThread As Threading.Thread
                Try
                    ShowFolderBrowserThread = New Threading.Thread(AddressOf ShowFolderBrowser)
                    If ShowFolderBrowserThread.ThreadState = System.Threading.ThreadState.Unstarted Then
                        ShowFolderBrowserThread.SetApartmentState(System.Threading.ApartmentState.STA)
                        ShowFolderBrowserThread.Start()
                    ElseIf ShowFolderBrowserThread.ThreadState = System.Threading.ThreadState.Stopped Then
                        ShowFolderBrowserThread.Start()
                        ShowFolderBrowserThread.Join()
                    End If
                    While ShowFolderBrowserThread.ThreadState = Threading.ThreadState.Running
                        Windows.Forms.Application.DoEvents()
                    End While
                    If FileName <> "" Then
                        Return FileName
                    End If
                Catch ex As Exception
                    'SBO_Application.MessageBox("FileFile" & ex.Message)
                    MessageBox.Show(ex.ToString())
                End Try
                Return ""
            End Function
            Public Sub ShowFolderBrowser()
                Dim MyProcs() As System.Diagnostics.Process
                FileName = ""
                Dim OpenFile As New OpenFileDialog
                Try
                    OpenFile.Multiselect = False
                    OpenFile.Filter = "All files(*.CSV)|*.CSV"
                    Dim filterindex As Integer = 0
                    Try
                        filterindex = 0
                    Catch ex As Exception
                    End Try
                    OpenFile.FilterIndex = filterindex
                    OpenFile.RestoreDirectory = True
                    MyProcs = System.Diagnostics.Process.GetProcessesByName("SAP Business One")
                    If MyProcs.Length = 1 Then
                        For i As Integer = 0 To MyProcs.Length - 1
                            Dim MyWindow As New WindowWrapper(MyProcs(i).MainWindowHandle)
                            Dim ret As DialogResult = OpenFile.ShowDialog(MyWindow)
                            If ret = DialogResult.OK Then
                                FileName = OpenFile.FileName
                                OpenFile.Dispose()
                            Else
                                System.Windows.Forms.Application.ExitThread()
                            End If
                        Next
                    End If
                Catch ex As Exception
                    'SBO_Application.StatusBar.SetText(ex.Message)
                    MessageBox.Show(ex.ToString())
                    FileName = ""
                Finally
                    OpenFile.Dispose()
                End Try
            End Sub
            Private Class WindowWrapper
                Implements System.Windows.Forms.IWin32Window
                Private _hwnd As System.IntPtr
                Public Sub New(ByVal handle As System.IntPtr)
                    _hwnd = handle
                End Sub
                Private ReadOnly Property Handle() As System.IntPtr Implements System.Windows.Forms.IWin32Window.Handle
                    Get
                        Return _hwnd
                    End Get
                End Property
            End Class
    on the browse button click write this
    Dim oEditText As SAPbouiCOM.EditText = form.Items.Item("txtFlePath").Specific
           oEditText .String = showOpenFileDialog()
    for setting image to a picture box use this
    Dim oPictureBox As SAPbouiCOM.PictureBox = form.Items.Item("picInfo").Specific
    oPictureBox .Picture = "C:\image.png"
    Regards
    Arun

  • How to auto save instrument output data to Excel with preset file path and names

    Hi,
    I'm having this auto saving problem. The type of my instrument output is ''1-D array of cluster of two elements''. I tried to use ''Report Generation Toolkit", but it seems the data type doesn't match. Anybody got ideas about the data type conversion?  Other possible approaches are also welcome!
    Thanks!!

    What's in the cluster?  Can you show us some code?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How Can I change the Directory and Name of Coded UI Test Result html file

    I'm Using Visual Studio 2013
    Now I can find the Coded UI test result html file insde the following path
    TestProjectFolder\TestResults\2015_01_22_05_59\In\anotherfolder\MyMachineName\UiTestActionLog.html
    VS2013 enables editing the name structure of this folder only (2015_01_22_05_59). and it should contains a static name+DateTime (Using the Project TestSettings).
    I need to (Programatically)
    Collect all test result html files on one folder with the project name (Change the path of the test result file)
    Put the testcase name on the result file name (for example : TC13505_ValidateScreenComponents_2015_01_22_05_59)
    If possible,Programatically attach the html result file to the test case attachements
    More Details:
    I need to set a custom valus for (ResultsDirectory -
    TestLogsDir -TestResultsDirectory
    - TestName) on the runtime.
    please if any onw know how to do the previous tasks
    by code, please share your knowledge.
    Regards, Ahmed Elgazar Skype:A7medelgazar

    Hi AhmedElgazar,
    Thank you for posting in MSND forum.
    As you said  that you want to collect all test result html files on one folder with the project name by programmatically way to change the path of test result file in coded UI test.
    As far as I know that when we run a coded UI test every time, it is default that there will create a new folder to save the new UITestActionLog.html.
    So we could not change the path of test result file and collect all test result html files on one folder in VS IDE.
    At present, there have no way to collect all test result html files on one folder and change the test result file path.
    In addition, I know that we can change the TestResults folder using mstest.exe in command line.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/58d3d2a6-1a45-41ba-9afa-12d087c7c661/how-to-change-the-test-results-path-of-codedui?forum=vstest
    If you still want to this feature, I suggest you can submit this feature request:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote. If
    you submit this suggestion, I hope you could post that link here, I will help you vote it.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Path and Name field in SPD 2010 Workflow for creating Doc Sets

    Hi Guys,
    Here's hoping you can help out and give a few pointers. I'm currently trying to implement what I thought was quite a simple workflow involving the creation of a Content Type (similar to Doc Set but with additional field) within an alternative library when
    a new item is added to the current library.
    Create Item in CaseFileLibrary (Output to Variable: CaseFile)
    When running the workflow, I keep getting the following error:
    "The workflow could not create the list item because the file name is either missing or invalid. "
    It seems to be related to the 'File and Path' field within the 'Create New List Item' field mappings. For this I have tried the CurrentItem:Title as some other forums suggest and have also tried entering the URL path e.g. /subsite_name/library_name/CurrentItem:Title.
    (as the name of the CaseFile (Doc Set) is going to be the same as the current item name)
    If anyone has any suggestions, I would be truely greatful.
    Luke

    Hi Luke,
    This error indicates there is an error in the workflow logic. Ensure that the file name entered in the Path and Name field is a valid file name. Common reasons for a file name to be invalid include a missing or incorrect file extension or a file/path string
    that is too long and exceeds the allowable number of characters.
    More information, please refer to :
    Common error messages in SharePoint workflow development
    For the URL that you used in the ‘Create New List Item’, whether the CurrentItem:Title is a lookup, not typed by yourself. If not, please type /subsite_name/library_name/, then lookup CurrentItem:Title, like the below, then save and publish the workflow,
    compare the result.
    In addition, please use another name for the name, compare the result.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

Maybe you are looking for