How can I select the filename, in which the results are stored, dynamically?

I want to change record file name several times in a TS execution using "statements".
Which variable should i change in the statement? And what should i do to access that variable?
Thanks a lot.
Baris

Hi,
sansar wrote:
Yes, I should use Report Options callbacak but i cannot understand how.
I have added ReportOptions callback into my sequences. First of all, why is (is it) the ReportOptions sequence empty when i select it in the "View"  menu. Just the parameters can be seen. Does it mean what was done normally when ReportOptions is not added will not be done anymore, since the sequence is empty? Or, are the operations normally done but hidden from the user?
Not all Callbacks actually do anything, and this is one of them. But you can see if it has any steps by looking at the original in the Process Model Sequence File - "SequentialModel.seq". On the other hand, if it did have some steps, such as the PostUUT, there is a setting, I think its in the Preferences, that will copy the exact Callback instead of creating an empty one.
sansar wrote:
Secondly, i can guess that the parameter i should change is the "Parameters.ReportOptions.ReportFilePath" but it is only available in the ReportOptions sequence. I think that i should be able to have it in the MainSequence (or in any of my subsequences) because there is the place i want to modify the report file.
The thing with the ReportOptions, is it allows the user to setup the Report Options. Therefore, although there are properties such as ReportFilePath, they only become effective when other properties have been set with the correct value, usually a boolean. You can see this by setting the various controls in the Report Options Dialog and seeing what is enabled and disabled. There are other properties that allow you to setup the component parts of the filename, such as ReportBaseName.
The actual report pathname is not setup until a step in the process model entry sequence (Test UUTs or Single Pass) is performed. This sequence is called 'Determine Report Pathname' (this might not be the precise wording) and is then stored in a Local variable. 
You could obtain this setting in your MainSequence by using the lookup string "RunState.Caller.Locals.ReportFilePath".
Hope this helps
Regards
Ray Farmer
Message Edited by Ray Farmer on 11-23-2006 07:41 AM
Regards
Ray Farmer

Similar Messages

  • How can I include the results are coming from a new thread, in the main sequence report?

    Hi,
    I have a main sequence which calls other sequence running in a new thread.
    I cannot see the results (limit test etc.) comming from that sequence.
    Is there any trick to it?
    Andras

    Hi again Andras.
    I got a reply from the technical support. I hope this help you.
    To include in main report the results of your test in another thread you must follow these steps:
    1.- Right click on the sequence call where you create the new thread. In "Specify Module" panel, just right "Run sequence in a new thread" press "Settings" button and disable "Automatically wait for the thread to complete..."
    2.- At the end of your main sequence add a new "synchronization - wait" step. Configure your wait, selecting in the upper ring tab "wait for thread".
    3.- Then select below "specify by sequence call" and pick over your thread name.
    With these changes your main sequence will add the results from your thread to your main sequence report.
    I hope it works for you. (but sadly it doesn't work for me)

  • I'm trying to install an update to itunes that downloaded but can't complete installation as its trying to install onto D: drive. I don't have a D drive and i'm not given option of selecting the drive to install on. How can i select the drive that i want

    I'm trying to install itunes but can't complete installation as its trying to install onto F: drive. I don't have a F drive and I'm not given option of selecting the drive to install on. How can I select the drive that i want to install on?

    Hi,
    How do you connect the printer to the XP machine ? If USB, you need to make that machine as a Print server. Please try this:
       http://techtips.salon.com/make-windows-computer-pr​int-server-11914.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can i select the next column instead of next row when press enter key

    I need to know how can i select the next column instead of next row when i press the enter key.By default ,when i press enter key the next row is selected and the column remain unchanged but I wants opposite that is the row should remain unchanged but column index will changed.
    Thanks to all.

    Well, the right arrow key will already move you to the next column, so the easiest way to do this is to modify the InputMap to have the Enter key invoke the same Action as the right arrow key.
    You can search the forum for my "Table Actions" (without the space) example that will show you how to do this.

  • How can I select the existing worksheet while using OLE2 to open the template workboo

    Source:
    application:=ole2.create_obj('Excel.Application');
    workbooks:=ole2.get_obj_property(application,'Workbooks');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'c:\RptTemplate.xlt');
    workbook:=ole2.invoke_obj(workbooks,'Open',args);
    ole2.destroy_arglist(args);
    worksheets:=ole2.get_obj_property(application,'Worksheets');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'Sheet1');      
    worksheet     :=ole2.invoke_obj(worksheets,'Select',args);
    ole2.destroy_arglist(args);
    Problem:
    1. While executing the above code, error -305500 occurs after executing "worksheet := ole2.invoke_obj(worksheets','Select',args)". How can I select the sheet i wanted in the template ??
    2. As I refer to the forms on-line document, it stated that the ole2 programmers documentation can provide all object types and methods that can be used with the OLE2. Does any link can provided to download the specified documentation ??

    The error is probably that your Worksheets variable is actually empty. Looking at your code I think the problem is that you try and get the value of the worksheets collection from the application then you should try and get it from the Workbooks object.

  • CS3 - Place Word document: How can I select the current preset?

    Hi
    In my Plugin I like to place a word document into a text frame. To do this I want select a defined preset before.
    How can I do that?
    How can I select the current preset for the placement (import)?
    Thanks for the support
    Hans

    Hi,
    I had posted a similar query few days back to place excel file in text frame. And I found out that, it is not possible to specify formatting option for any of microsoft document when using Indesign SDK.
    But we can do this by running script.
    If you are able to specify the formatting option through script, write code to get script object & execute this script through Indesign SDK.
    I was able to specify formatting option, sheet number, range etc through this.
    Hope this helps.
    Rajani

  • How can I export the results of a query?

    After executing a select statement I can see the results in a grid but how can I export the results (the data)?
    How can I export the results of a join of two or more tables?

    Right click in the results grid and select the Export menu option

  • How can i display the result of java class in InputText ?

    Hi all,
    How can i get the result of java class to InputText Or OutputText ???
    also can every one in the forum give me road map for dealing with java in oracle adf because i'm beginner in oracle adf
    i saw some samples in oracle adf corner but it's difficult for me.

    User,
    Always mention your JDev version, technologies used and clear usecase description (read through this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    How can i get the result of java class to InputText Or OutputText ???Can you elaborate on your requirement? Do you mean the return value of a method in a class as output text? Or an attribute in your class (bean?) as text field?
    -Arun

  • How can I convert the variable expression stored as string back to variable expression

    How can I convert the variable expression stored as string back to variable expression?
    I am storing the expression enterd in the TSExpresssionEditControl as simple string and want to convert back to expression since I want to get the data type of that expression.

    pritam,
    I'm not sure what you're trying to do exactly. If you are trying to get the value of a variable and you only have the name of value in a string, then you can use Evaluate() to get its value. If you want the data type, my advise is to use the GetPropertyObject() API method and just pass in the loop up string. Then you'll have a handle to the data object and then proceed from there.
    Regards,
    Song D
    Application Engineer
    National Instrument
    Regards,
    Song Du
    Systems Software
    National Instruments R&D

  • How can I extend the MRP Areas?

    How can I extend the MRP Areas of a material for different warehouses by LSMW? Is there a specific field for it?

    Ok, this is how my recording is built up (it ends with the same screen from the start):
    RMMDDIBE 1000
        BDC_CURSOR                     SO_WERKS-LOW
        BDC_OKCODE                     =UCOMM4
        SO_MATNR-LOW                                        MATNR                matnr
        SO_WERKS-LOW                                        WERKS                plant
        BDC_SUBSCR                     RMMDDIBE
    RMMDDIBE 1000
        BDC_OKCODE                     =CMDM
        SO_MATNR-LOW                                        MATNR                matnr
        SO_WERKS-LOW                                        WERKS                plant
        BDC_SUBSCR                     RMMDDIBE
        BDC_CURSOR                     SO_BERID-LOW
        PANE                           X
        SO_BERID-LOW                                        MRP_AREA             mrp_area
    RMMDDIBE 0101
        BDC_CURSOR                     SDIBE_MASSFIELDS-XLGP
        BDC_OKCODE                     =SAVE
        SDIBE_MASSFIELDS-XDISGR        X
        MDMA-DISGR                                          DISGR                MRP_group
        SDIBE_MASSFIELDS-XDISMM        X
        MDMA-DISMM                                          DISMM                planningskenmerk
        SDIBE_MASSFIELDS-XMINBE        X
        MDMA-MINBE                                          MINBE                bestelpunt
        SDIBE_MASSFIELDS-XDISPO        X
        MDMA-DISPO                                          DISPO                Mrp controller
        SDIBE_MASSFIELDS-XDISLS        X
        MDMA-DISLS                                          DISLS                lotzsize
        SDIBE_MASSFIELDS-XBSTFE        X
        MDMA-BSTFE                                          BSTFE                fixed lotsize
        SDIBE_MASSFIELDS-XSOBSL        X
        MDMA-SOBSL                                          SOBSL                special procurement key
        SDIBE_MASSFIELDS-XLGPRO        X
        MDMA-LGPRO                                          LGPRO                issueing storage loc
        SDIBE_MASSFIELDS-XLGFSB        X
        MDMA-LGFSB                                          LGFSB                stor location external procurement
        SDIBE_MASSFIELDS-XPLIFZ        X
        MDMA-PLIFZ                                          PFLITZ               planlevertrijd
        MDMA-PLIFZX                    X
    RMMDDIBE 1000
        BDC_CURSOR                     PA_PROSA
        BDC_OKCODE                     =ONLI
        SO_MATNR-LOW                                        MATNR                Matnr
        SO_WERKS-LOW                                        WERKS                plant
        PA_PROSA                       X
        BDC_SUBSCR                     RMMDDIBE
        PANE                           X
        SO_BERID-LOW                                        MRP_AREA             mrp_area

  • How can I select the condition one by one

    I attaching a VI in which I have two condition less than or equal and greater than or equal. With respect to the input value 0f 125 the condition should be greater than or equal and if it is 175 then it should be less than or equal. So how can I exchange the conditions. Please reply
    Attachments:
    24.1.14 data acquisition reverse corrected-1.vi ‏116 KB

    Hi perumpadapu,
    Can you show me in your code where is this "175" and "125" is coming from? Where do you want to implement your flip logic?
    " I need to relpace the greater than equal to to lesser than equal sign as the 175 becomes 125.So there should be a flip in conditions to be considered. "
    If you want to do some sort of flip conditions based on the integer value received, you can use case structure as below:
    Unless you are very certain that you will not receive any values other than 175 and 125, you can use Select. 
    "Becaus if i use case structure as you said, for the true as well as false case I have to include all these commands to execute in each case. I can't wire the both cases to the same case structure after that."
    Can you provide a screenshot to this issue?
    It would be great if you can explain what you want to do and what your code does.
    Warmest regards,
    Lennard.C
    Learning new things everyday...

  • How can i select the length of a trace in Ultiboard?

    Hello
    i got a problem with the length of some traces.
    Some special traces need to get the same length.
    I used the group edit item to create a grout with the needed nets.
    How can i creat the traces now. When i use the item Follow-me it doesn't apply the selected value.
    At least i tryed to use the Autoroute function but this just function doesn't work. (Error during autorouter preprocessing. Source: Autorouter Parameter Error)
    Is there any smart possibility to handle the problem?
    Best regards

    Beboni007,
    Here is how matched length traces can be completed in Ultiboard.
    First you do not necessarily need to setup a part group to do this... (differential pairs would require grouping)
    1. Forward annotate your schematic / netlist from Multisim.
    2. Determine the absolute minimum routing length from the origin of the net to the destination by routing a starter trace (remove/undo).
    3. In Ultiboard, go to the spreadsheet view/ Nets tab and set the 'Topology' of interest to 'Star' for the traces you need matched.
     -> This changes the Max Length and Min Length in the Nets tab from N/A to a number allowing you to set the min/max trace length
    4. Set the Min Length of the nets to an appropriate value for your application (it will need to be at least the value of your starter trace in step #2)
      -> Set the Max Length to the minimum + 50 mils or so (Ultiboard will do a relatively good job at attaining the minimum value but give it some room)
    5. Go to the Autorouter/place settings and set the Routing mode to: Gridless (this will give the router flexibility to go off grid and match lengths)
    6. Highlight the traces of interest and Autoroute these (Autoroute -> Autoroute Selected Nets).
    Some Tips:
    a. Do this routing first if possible
    b. Restrict routing to a single layer if possible (restrict routing layers -> Routing Layers in the Nets tab)
    Here is a simple example in Multisim: 
    After autorouting in Ultiboard as described:
    Hope this helps,
    Regards,
    Patrick Noonan
    National Instruments
    Attachments:
    Matched Lengths.zip ‏44 KB

  • How can i select the duplicate values

    Hi experts ,
    how can i find the duplicate values from the table. i want to display the all duplicate the rows.
    1. Table Structure :-
    CREATE TABLE CIF_MIGRATE
      LINE_NO        NUMBER(10),
      ACCT_NO        VARCHAR2(20 BYTE),
      BRANCH_ID      VARCHAR2(1 BYTE),
      CUSTOMER_NAME  VARCHAR2(100 BYTE),
      FATHER_NAME    VARCHAR2(100 BYTE),
      GF_NAME        VARCHAR2(100 BYTE),
      TOTAL          VARCHAR2(100 BYTE),
      STATUS         VARCHAR2(100 BYTE),
      CUSTOMER_TYPE  VARCHAR2(10 BYTE),
      GENDER         VARCHAR2(10 BYTE)
    ) 2. Sample Data:-
    SET DEFINE OFF;
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, CUSTOMER_TYPE)
    Values
       (72, '1', 'Addis Belay Construction Material Rental', 'C');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, CUSTOMER_TYPE)
    Values
       (73, '1', 'Addis Belay Construction Material Rental', 'C');
    SET DEFINE OFF;
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2869, '1', 'Abraham', 'Fiseha',
        'I', 'Male');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2870, '9', 'Abraham', 'Fiseha',
        'I', 'Male');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, GF_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2872, '9', 'Abraham', 'Baraki',
        'Medehniye', 'I', 'Female');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, GF_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2873, '1', 'Abraham', 'Geber kirstos',
        'gebre medihin', 'I', 'Female');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, GF_NAME, CUSTOMER_TYPE)
    Values
       (2874, '1', 'Abraham', 'Gebre egziabher',
        'Negussie', 'I');
    COMMIT;4. My requirement is i need display all the duplication customer
    CUSTOMER_NAME                                 FATHER_NAME,GF_NAME
    Addis Belay Construction Material Rental   
    Addis Belay Construction Material Rental
    Abraham                                              Fiseha
    Abraham                                              Fiseha5. I tried below query but i cant reach what i want exactly
    SELECT CUSTOMER_NAME,FATHER_NAME,GF_NAME
                               FROM CIF_MIGRATE
                          GROUP BY CUSTOMER_NAME,FATHER_NAME,GF_NAME
                             HAVING COUNT (*) > 1kindly suggest me the solution
    Thanks
    Arun

    Hi,
    You're on the right track using COUNT (*), but, for this job, you want the analytic COUNT, not the aggregate COUNT.
    "GROUP BY x, y, z" means that the result set will only contain 1 row for each distinct combination of x, y and z. Most aggregate functions (including COUNT) have analytic counterparts that get the same results without reducing the number of rows.
    Here's one way you can use the analytic COUNT function:
    WITH     got_cnt          AS
         SELECT    customer_name
         ,       father_name
         ,       gf_name
         ,       COUNT (*) OVER ( PARTITION BY  customer_name
                               ,                 father_name
                         ,           gf_name
                         )     AS cnt
         FROM       cif_migrate
    SELECT    customer_name
    ,       father_name
    ,       gf_name
    FROM       got_cnt
    WHERE       cnt     > 1
    ;PARTITION BY in analytic functions corresponds to GROUP BY in aggregate functions.

  • How can I know the connections are pooled?

    Hi. everyone.
    I am wondering how I can monitor the connections are pooled.
    I am using web-logic as a web server and oracle9ir2 as a
    database server.
    When I was deploying an application to the web-logic, I created a
    connection pool.
    And then, I run the application respectively(exactly two).
    However, there is only one session in the "V$SESSION" dictionary.
    I do not understand why there is only session in the V$SESSION, although
    I run two application respectively.
    In addition, how can I monitor the oracle conenctions are pooled?
    Does V$SESSION have nothing to do with oracle connection pool?
    Thanks in advance.
    Have a good day.
    Best Regards
    Ho.

    Dear Sabdar Syed.
    Thanks for your reply.
    Here is the result of v$license.
    SQL> select * from v$license;
    SESSIONS_MAX : 0
    SESSIONS_WARNING : 0
    SESSIONS_CURRENT : 6
    SESSIONS_HIGHWATER : 6
    USERS_MAX : 0
    What does it mean, sessions_max(0), sessions_current(6), users_max(0)
    I am still confused.
    Could you give me a more detailed explanations?
    Thanks in advance. Have a good day.
    Regards.
    Ho.

  • How can I pass the web template name dynamically to a container

    Hi Experts ,
    I have a container web item in 7.0
    I would like to pass the name of the web template to be displayed in that web item dynamically .
    how can I achieve the same .
    How can i change the visibility settings of a container using a javascript .
    Thanks in advance for your help .
    Regards
    Nikhil

    Hi Nikhil,
    When you say that you want to display the name of the template for the container item, I think you are talking about the tray caption for the item - is that correct? You can use a text item to access the web template name, but in the caption of the container item, you cannot specify other web items.
    What you can do it to use a group item in the template and embed your container layout in it. In the group item, you have an option of specifying a caption using another web item where you can reference this text item.

Maybe you are looking for

  • How to make a fullscreen button for Flash Catalyst?

    Hey everyone.  I really hope someone can help me with this.  How can I make a fullscreen button in Flash Professional that would make my Flash Catalyst project go fullscreen?

  • White horizontal line on macbook pro retina display

    When I scroll through photos, sometimes a white horizontal line will span the screen for a short time. It will span the whole screen for less than a fraction of a second so it was difficult to take a photo of it. I managed to do it but here the line

  • RFC_PROGRAM ERROR in Portal

    We configured Enterprise Portal for our SAP BW Netweaver2004s Server. In that We are trying to work in the Planning Modeller in Enterprise Portal. In that we are getting RFC Connection Error (RFC_ERROR_PROGRAM error in Planning Modeller). We could no

  • Write to measuremen​t file help

    Hi, I am a beginner. I am working on a VI. But have some problems that I couldn't solve. Here is the VI attached, I get on the output the positive and negative peak values which I then write to a mesurement file. But now I just get my last values of

  • [b]urgent:Error installing 10g on windows[/b]

    hallo.. pls can some one give me a lasting solutionto this problem i encountered while installing oracle 10g. When ever the installation reaches 88%, it brings an error message which says " Thrown when the IP address of a host cannot be determined"..