How to display test progress in customized OI progress bar??

Hi all
From the deaf silence of group for my previous  question should i assume it is not possible to store/process the user configuration deatails in database instead of .ini file??
also please clarify me the following questions.
1. Is it possible to display the test progress in customized OI (like shown in the figure)
i used the method to get the number of steps.
axExecutionViewMgr.GetCaptionText(CaptionSources.CaptionSource_NumberOfSteps,true,""); ( but it returns null  i used it in precommand event of appln. mgr.)
but the teststand  should provide a event so that i can update the progressbar value according to number of steps/ steps completed in UI right??
2. The functionality of ABORT will abort the current execution. but when i say restart it should restart from step that is being aborted. but the current  restart functonality provided in test stand restart from very first step of sequence. is there any way to achieve this?.
3. I try to run sequence file programmatically using the following code
NationalInstruments.TestStand.Interop.API.Engine eg= axApplicationMgr.GetEngine ();
NationalInstruments.TestStand.Interop.API.SequenceFile s =eg.NewSequenceFile ();
s.Path ="D:\\Program Files\\National Instruments\\TestStand 3.1\\Examples\\Demo\\CreateDeleteUsers\\CreateDeleteUsers.seq";
eg.NewExecution (s,"CreateDeleteUsers.seq",null,true,0,null,null,null);
but it show the following error
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in TestExec.exe
Additional information: Unknown function or sequence name 'CreateDeleteUsers.seq'.
have i anything missed in the code??
Thanks in Advance
Srini
Attachments:
exec.jpg ‏43 KB

Re 2. Restarting from the middle is not a feature that currently exists. To implement it yourself, you would have to create a step or callback that reads a persisted version of the results, variables, current step group/index, and anything else you need to restore and applies it to newly started execution. You would have to arrange to persist all these items when you terminate, either with a special step/callback or with special code in a OI application that you write. 
This is probably not a feature that can be implemented in just a few of lines of code. It could be a simple or difficult project, depending on how much state you need to restore, whether you support restarting from within subsequence, whether you try to restore the system state by rerunning setup and cleanup groups, etc.
Re 3. Your code does not work because although you change the path of the new empty file, it is still a new empty file.  To load a file, call ApplicationMgr.OpenSequenceFile.  You can then execute it with a command object. Example:
this.axApplicationMgr.OpenSequenceFile(fileName);
// run the current sequence
this.axSequenceFileViewMgr.GetCommand(CommandKinds.CommandKind_RunCurrentSequence).Execute(true);
// run an execution entry point (Test UUTs is typically at index 0 and Single Pass is typically at index 1)
this.axSequenceFileViewMgr.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 1).Execute(true);
Alternatively, you could create an execution with ApplicationMgr.GetEngine().NewExecution, passing in the SequenceFile that the OpenSequenceFile method returns.  If you are modifying/creating an OI application, I recommend reading Chapter 9 of the TestStand Reference manual if you haven't already.

Similar Messages

  • How to display the file status in the status bar?

    Hi all,
    Can anyone tell me how to display the file status in the status bar?
    The file status can consists: the type of the file, the size of the file etc..
    thanx alot..

        class StatusBar extends JComponent {
              JLabel l = new JLabel("ready");
            public StatusBar() {
                  super();
                  setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
                  add(l);
              public void setText( String prompt ) {
                   l.setText(prompt);
                   setVisible( true );
            public void paint(Graphics g) {
                  super.paint(g);
        }

  • How to display my country flag on the task bar in osx mavericks?

    How to display my country flag on the task bar in osx mavericks?

    System Preferences > Keyboard > Input Sources
    Checkmark the box beside "Show Input menu in menu bar".

  • How to display Spool title in custom format.

    Hi
    When SForm goes to Spool by default it display the title based on <PrinterName> <Report> <UserName>, i need a solution where i can customize the title before it goes to spool. So that i can make difference this spool with others  while compare to titles. Well i tried with FM GET_PRINT_PARAMETERS, but not sure how far it can help in my case.
    Please let me know the possible ways.
    Thanx.

    Hi,
    The associated function module for the smart form contains an import paramter called OUTPUT_OPTIONS.
    OUTPUT_OPTIONS-TDDATASET : Spool request: Name
    OUTPUT_OPTIONS-TDSUFFIX1 : Spool request: Suffix 1
    OUTPUT_OPTIONS-TDSUFFIX2 : Spool request: Suffix 2
    Just assign the value to the structure field OUTPUT_OPTIONS-TDDATASET .
    Thanks,
    Ramakrishna

  • How to display Campaigns--- custom Object1-- Accounts in reports?

    Hi,
    We had requirement that needs to associate Accounts to campaigns, not contacts. I was able to do this using custom object 1 (since many accounts can be associated to many campaigns), having accounts as part of its related information.
    So the related information section of Campaigns is a list of custom obj 1s which, in turn, have multiple accounts associated to them.
    The question is how to display a list of campaigns and list of accounts associated to each campaign(i.e. the list of accounts associated to the custom objects associated to the campaign) in reports ?
    Regards,
    Ani.

    Ani,
    You'll need to use Combined reporting for this functionlity, if you search for this in the KB you should find some information on this or buy Mike Lairsons book from Amazon.com.
    Alternatively I used a report filtered by Account ID to show Campaigns targeted to that Account as a related item, this was standard Campaign/Contact/Account reporting. And all we did was add contacts to Campaigns.
    cheers
    alex

  • How to display success message when data is changed in the custom tab in MM

    Hi,
    I have added a new custom data tab in the MM01/MM02/MM03 transactions. Whenever I do changes to fields in the custom tab in MM02 transaction, and no changes in the standard tabs, I will get a message stating "No Changes Made".
    But if I do changes in the standard tabs, it works as usual with display of message "Changes to particular material has been done.
    Please let me know, if anyone of you know, how to display the success message if the changes to the custom tab is done.
    Thanks in advance,
    sudhanva

    Hi Sudhanva,
    The exit EXIT_SAPLMGMU_0001 is a function exit that you can use for custom validation but not to add custom tab/screen.
    But the message issued by SAP is not related to this Function Exit.
    If you have used a Screen Exit, then there must be some Function Exits also in the same Enhancement using which you can assign the value of custom fields to/from the standard structure. Thus when the value of any custom field is changed the system can understand that the some changes have been changed and will  not issue the message.
    In case you have used a BADI, there can be other methods in the BADi using whcih you can assign the value of custom fields to/from the standard structure. This might also prevent the message from being displayed.
    I could try giving you further details if you can provide the name of the Enhancement/BADi that you used to add the additional tab.
    Hope this helps.
    Regards,
    Abhisek.

  • How to display cusomized custom tooltip(jwindow)  in jtable cell position

    Hi,
    i am trying to display custom tooltip for jtable cell. i created custom tooltip(jwindow) and on mouseover of jtable cell i am trying to display the custom tooltip.
    But it is not display the position of jtable cell. How to display the exact position of jtable cell
    please help me on this.

    Did you read the posting directly below yours which was also about a custom tool tip?
    JScrollableToolTip is buggy
    The code presented there shows the tool tip in the proper location.
    For more help create a [url http://sscce.org]SSCCE, that demonstrates the incorrect behaviour.
    Don't forget to read the "Welcome to the new home" posting at the start of the forum to learn how to use the "code tags" so posted code is formatted and readable.

  • How to display Headline in custom panel in Adobe ?

    I would like to create custom file info panel for XMP that display few fields that are already in File Info. I would like display following fields:
    - headline
    - description
    - keywords
    To display description and keywords I have two lines:
    cat_container_edit_text(horizontal: align_fill, height: gTextViewHeight, xmp_path: 'Keywords', v_scroller: true);
    edit_text(horizontal: align_fill, height: 54,
    xmp_path: 'Description', container_type: alt_struct,
    v_scroller: true);
    and it works but how to display Headline? Where I can find xmp_path for other fields?
    Regrds
    Michal Szymanski
    http://podroze.szymanskich.net

    I've found answer:
    group(placement: place_row, spacing: gSpace, horizontal: align_fill, reverse: rtl_aware)
    static_text( name: '$$$/CustomPanels/Widgets/static_text=Naglowek:',font: font_small_bold_right, vertical: align_top);
    edit_text(horizontal: align_fill, height: 54, xmp_namespace: photoshop, xmp_path: 'Headline', container_type: alt_struct, v_scroller: true);

  • How to display text in custom control?

    Im doing a module pool program. There I have a Input field ,if user input there, some text I have to show in custom control. I have created custom control . But how to display some text there? what method I have to use?
    I have use this code for creating custom control.
    CREATE OBJECT EDITOR_CONTAINER
          EXPORTING
            CONTAINER_NAME              = 'TEXTEDITOR'
          EXCEPTIONS
            CNTL_ERROR                  = 1
            CNTL_SYSTEM_ERROR           = 2
            CREATE_ERROR                = 3
            LIFETIME_ERROR              = 4
            LIFETIME_DYNPRO_DYNPRO_LINK = 5.
        CREATE OBJECT TEXT_EDITOR
          EXPORTING
            PARENT           = EDITOR_CONTAINER
            WORDWRAP_MODE    = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
            WORDWRAP_POSITION          = LINE_LENGTH
            WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE.

    Hi,
    You will have to use the method 'set_text_as_r3table' to display your text in the object.
    The text will have to be passed as an internal table to the method.
    Regards,
    Ankur Parab

  • How i display mac app store downloading progress bar ? please help, how i display mac app store downloading progress bar ? please help

    how i display mac app store downloading progress bar ? please help ?

    it does not respond every time i hit download button,nothing appers

  • How to display non-URL-based thumbnail images in JTable

    I'm trying to display thumbnail images as a tooltip popup for certain cells in a JTable. The thumbnail images are java image objects that have been retrieved dynamically as the result of a separate process--there is no associated URL. For this reason, I can't use the setToolTipText() method of the JTable.
    My attempts to JTable's createToolTip() method also failed as it seems the ToolTipManager never calls this method for a JTable.
    As a workaround, I've added a MouseMotionListener to the JTable that detects when the mouse is over the desired table cells. However, I'm not sure how to display the popup over the JTable. The only component that I can get to display over the JTable is a JPopupMenu, but I don't want to display a menu--just the image. Can anyone suggest a way to display a small popup image over the table?
    Thanks.

    Thank You Rodney. This explains why my createToolTip() method wasn't being called, but unfortunately I'm no closer to my goal of displaying a true custom tooltip using a non-URL image rather than a text string. If I make a call to setToolTipText(), at any point, the text argument becomes the tooltip and everything I have tried in createToolTip() has no effect. However, as you pointed out, if I don't call setToolTipText(), the table is not registered with the tooltip manager and createToolTip() is never even called.
    To help clarify, I have attached an SSCCE below. Please note that I use a URL image only for testing. In my actual application, the images are available only as Java objects--there are no URLs.
    import javax.swing.*;
    import java.awt.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    public class Test {
        static Object[][] data = {
                {"Cell 0,0", "Cell 0,1"},
                {"Cell 1,0", "Cell 1,1"}};
        static String[] columnNames = {"Column 0", "Column 1"};
        static JFrame frame;
        static String testImageURLName = "http://l.yimg.com/k/omg/us/img/7c/0a/4009_4182164952.jpg";
        static JTable testTable = new JTable(data, columnNames) {
            public JToolTip createToolTip() {
                System.out.println("testTable.createToolTip() called");
                Image testImage = getTestImage();
                // this.setToolTipText("Table ToolTip Text");
                JLabel customTipLabel = new JLabel(new ImageIcon(testImage));
                customTipLabel.setToolTipText("Custom ToolTip Text");
                JToolTip parentTip = super.createToolTip();
                parentTip.setComponent(customTipLabel);
                return parentTip;
        // This image is loaded from a URL only for test purposes!!!
        // Ordinarily, the image object would come from the application
        // and no URL would be available.
        public static Image getTestImage() {
            try {
                URL iconURL = new URL(testImageURLName);
                ImageIcon icon = new ImageIcon(iconURL);
                return icon.getImage();
            catch (MalformedURLException ex) {
                JOptionPane.showMessageDialog(frame,
                        "Set variable \"testImageName\" to a valid file name");
                System.exit(1);
            return null;
        public static void main(String[] args) throws Exception {
            frame = new JFrame("Test Table");
            frame.setSize(300, 100);
            // Set tool tip text so that table is registered w/ tool tip manager
            testTable.setToolTipText("main tooltip");
            frame.getContentPane().add(testTable);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
    }

  • How to creat test variable for required year value.

    Hi All,
    I have one report in that report description i want to display year value(zvar_year).
    Ex : report description like "&zvar_year& report" in runtime it can show "2011 report".
    when i run this report from feb to dec i have to show current year value, when i run this report on jan it have to show previous year value
    For this i used diff type of test variable as fallowed bellow
    1) test variable using replacement path with info object :
    variable type:test
    char:zyear
    process type:replacement path
    replacement variable with:infoobject
    replace with :key
             (or)
    iam trying bellow variable method but iam unable to see in variable list its charectaristic value variable
    variable type:test
    char:zyear
    process type:replacement path
    replacement variable with:variable  "this is customer exit variable built on zyear unable to see in variable list
    replace with :key
    2)test variable using customer exit:
    variable type:test
    process type:customer exit
    *Problem:* when i used &zvar_year& in the description its showing  "&zvar_year&" only not "2011" value.
    please let me know how to get the values into test variable
    Thanks in advance
    Edited by: RJANAR on May 18, 2011 7:17 AM
    Edited by: RJANAR on May 18, 2011 7:23 AM

    Hi,
    For that you need to modify your customer exit as shown below
    Data : zyear(4), zmonth(2).
    zmonth = sy-datum+4(2).
    if zmonth = '01'
    zyear = sy-datum(4).
    Zyear = Zyear -1.
    elseif
    zyear = sy-datum(4).
    endif.
    CLEAR L_S_RANGE.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    L_S_RANGE-LOW = zyear.
    APPEND L_S_RANGE TO E_T_RANGE
    Hope this helps you. Thanks.
    Regards,
    Raj

  • No standard message displayed in the new custom form

    Hi All,
    I developed a new custom form for FA module using Template.fmb. It is not showing any standard messages such as "Transaction complete: 1 records applied and saved". The records are getting saved. I even tried setting in when-new-form-instance ":SYSTEM.MESSAGE_LEVEL := 0" but that too didn't work out.
    Please help on how to display the standard message. Please let me know if I am not clear with my question
    Details
    Oracle Form version: 6i
    Application version: 11.5.10

    Can you see if something in the code is overriding your message level?
    Can you set the message level to 0 in the pre-commit trigger?

  • How to display and edit the clob datatype column from Data base

    Hi ,
    I have a requiremsnt as below
    1) One Table having some columns with CLOB data type along with varchar columns
    2) need to display the data from DB in search screen and need to be edited clob column in edit screen
    I created EO and VO with that Table and how to display the clob value into the input box for editing.
    using Jdev 11.1.1.5.0 version.
    Can you please help on this.
    THanks & REgards,
    Madhu

    Hi,
    If you are using an inputText component to display a Character Large Object (CLOB), then you will need to create a custom converter that converts the CLOB to a String.
    For custom convertor refer below link,
    http://docs.oracle.com/cd/E2438201/web.1112/e16181/af_validate.htm#BABGIEDH
    (section7.4 Creating Custom JSF Converters)
    Thanks,
    Santosh M E

  • Display data in a custom container

    Hi All,
    My requirment is to just display data in a custom container.
    I could able to display data in change mode but not display mode.Can you please let me now how can i do that.
    Thanks in Advance
    KV

    Im using cl_gui_custom_container.
    In PBO
    here is my code whihc is fine for Change/Edit mode.
      create control container
        CREATE OBJECT g_editor_container
            EXPORTING
                container_name = 'DISP_CONT'
            EXCEPTIONS
                cntl_error = 1
                cntl_system_error = 2
                create_error = 3
                lifetime_error = 4
                lifetime_dynpro_dynpro_link = 5.
        IF sy-subrc NE 0.
        do nothing
        ENDIF.
      create calls constructor, which initializes, creats and links
       a TextEdit Control
        CREATE OBJECT g_editor
          EXPORTING
             parent = g_editor_container
             wordwrap_mode =  cl_gui_textedit => wordwrap_at_fixed_position
             wordwrap_to_linebreak_mode = cl_gui_textedit=>TRUE
          EXCEPTIONS
              OTHERS = 1.
        IF sy-subrc NE 0.
        do nothing
        ENDIF.
    In PAI
    CALL METHOD g_editor->get_text_as_r3table
        IMPORTING
          table  = Text_table
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc NE 0.
      ENDIF.
    Text_table contains messages which r supposed to be displayed.
    Based on certain logical operations i will display the messages.

Maybe you are looking for