How to close a loaded testplan using C#-OPUI

Hello,
i created a OPUI in Cä that loads a testplan and executes it.
But i cant find a function to close an already opened testplan.
Means when i load testplan-1 it executes SeqFileLoad, the oi load tetsplan-2 and it execute SeqFileLoad.
But when i load again testplan-1 then it doesnt execute SeqFileLoad because it is still loaded.
So i am looging for an anload/close command.
Thanks for help

#1.
Are you looking to UnLoadAll Modules of a sequence file?
If so try: SequenceFile.UnloadModules
from TS help:
Return Value
Returns True if all modules were successfully unloaded. If any sequences in the file are executing when you call this method, the method returns False.
Purpose
Unloads the code modules from all steps in all sequences of the sequence file.
#2.
If you are looking to close the sequence file then maybe SequenceFileClosing Event can be helpful.
From TS help:
Syntax
ControlName_SequenceFileClosing ( file)
Purpose
Use this event when you need to perform cleanup or otherwise require a notification when the Application Manager control closes a sequence file. This event is generated immediately before the Application Manager control closes the file. The event handler for this event cannot cancel closing the file. Use the ApplicationMgr.QueryCloseSequenceFile event when you want an opportunity to cancel the closing of sequence files.
CLD,CTD

Similar Messages

  • How to do OBIEE load testing using OATS

    Hi,
    As part of OBIEE load testing, i have down loaded OATS.
    Can i please know what protocol to use to perform OBIEE load testing.
    And how to perform OBIEE load testing using OATS ?

    You can use the web/http protocol for load testing the OBIEE.., Also please let me know if you face any issues using this protocol

  • How to "close" applications and not use data

    Is it possible to "close" applications so to not use any data/internet at all, for example with safari?
    Or is it when you click the "home" button, it closes?

    Technically, yes.
    All apps once activated remain techincally open but suspend themselves when navigated away from.
    The email app however, lets say you go in, and it starts the manual checking of mail. If you leave it, it will continue with that check until done. Then stop (but check again if you set your mail settings to check on an interval).
    Other apps, suspend themselves.
    To add more (my opinon on things) read this post by me
    http://discussions.apple.com/message.jspa?messageID=5851978#5851978
    You may find it helpful as useful knowledge about the phone.

  • How to close an error dialog using software control without user's response

    Hi all,
    I was wondering if there is a way to press "continue" button programmatically when an error massage pops up. In USB communication application, if an error occures because of disconnection of USB cable, in this case VISA would generate an error windows, I am working on an effect that when the user reconnect the USB cable to the system, the error massage would disappear automatically. Your ideas would be appreciated.
    Thanks & Regards
    Peter Huang

    Thanks for your reply, I think I didn't make myself clear enough. I mean in my application, We hope user to see a popo up warning if USB cable somehow accidently disconnected. But we hope it would automatically close by software condition say detecting the reconnection of USB. I am thinking a way to avoid the susppession of code execution when error dialog box comes up, so that my programme would wait and hold an error window until certain boolean condition is met, then finally close itself.  So far, the information I found is simulating key stroke, another possible option is using invoke node with OK button as a control. Any other ideas?

  • How to close a front panel using 'one button dialog'?

    I wish i could use a 'one button dialog' so that the user can close the front panel when asked.
    actually, i do put a 'open vi reference' followed by an 'invoke node' and then by a 'close reference' in a case true false (vi attached)
    it seems that i can'ty use the option 'close FP' in my invoke node.
    I am using a labview 6i version, is that possible to have this option, otherwise hoe can i achieve muy application without this invoke node??
    thanks
    guillaume
    Attachments:
    testfermeture.vi ‏18 KB

    try this.
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFK_VIServer_Example.vi ‏32 KB

  • How we close Views without using Java Script

    Hi All,
    can you please suggest me how i close view with out using java script.
    if possible please reply with code.
    Thanks
    Siva

    Hi Siva,
    You can do this either by hiding your window or by closing the window. Following is the sample code to do that
    IWDWindowInfo windowInfo = null;
    IWDWindow window =null;
    windowInfo = (IWDWindowInfo)  wdComponentAPI.getComponentInfo).findInWindows("<<WindowName>>");
    if(windowInfo!=null)
    window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
    window.hide();
    Try with this code, might be useful for your scenario.
    Thanks,
    Sandeep

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

  • HT1689 how do i down load an album to itunes and use my account (has $ in it) to pay for it?

    How do I down load an album to itunes and use my account (has $ in it) to pay for the album?

    Open itunes store.
    Find what you want.
    Buy it.

  • How to make load simulator using labview 2010

    i want to ask how to make load simulator using labview? 
    Solved!
    Go to Solution.

    what have you tried so far? and exactly what is it your tying to do?
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

  • How to Close A/P Invoice in SAP B1 9.0 using SDK without creating an outgoing payment

    Hi Team;
    I have an issue about of how to close an A\P invoice that has two different tax definitions because I have recorded in a sap Business One A\P Invoice that Have Withholding tax (3%) and have Value Added Tax (18%) at once but when doing Payment of those invoices I did it separately without linking A\P  invoice with payment so that I can do a journal entry that credit the VAT Account and debit the Supplier to record that VAT while doing reconciliation I get I message ‘’ Use the same payment category withholding tax code for all transactions during reconciliation  [Message 3821-32]”” I need your help if there is a way that I can close (Changing the status of those invoices because they still open ) invoices without doing A reversal Transaction that affect the accounting  report in SDK.
    Please anyone can help me.

    Hi pallavi p,
    That's good but as I said above when I add the reference of UI API Version 9.0 in the project which has the system form or user form of sap b1 it exactly gives errors in menu.vb of the project.
    So let me give you the way you can try.
    1. Open new project/ visual basic/ sap business one/ sap business one add-on project. and save it any where
    2. Right click on your project
    3. Add new item
    4. Sap Business One
    5. System form (Employee master data) or user form
    6. Add
    And then if your form is opened
    7. Go to add the reference of UI API Version 9.0
    8. Check errors found in menu.vb (or in OutPut)
    So if it's possible try to solve that problem.
    Please anyone can help me.

  • How do I close a JInternalFrame when using subclasses and a separate cla...

    The heading should be: How do I close a JInternalFrame when using subclasses and a separate class for the actionListener?
    I have just created a JInternalFrame appclication and now I want to structure up my code. I have a Superclass that contains the usual settings for the two JInternalFrame:s, and the two subclasses with frame specific information. Both the JInternalFrames use the same OK button. I want to have the actionListener outside the classes to avoid repetition of code. But the dispose()-function does not work properly, it does not close the opened JInternalFrame. What�s wrong?
    class Superclass extends JFrame
         JButton b= new JButton("ok");    
         Superclass()
    class Subclass1 extends Superclass
         Subclass1 ()
              add(ok);
           ok.addActionListener(new Listener());
    class Subclass2 extends Superclass
         Subclass2 ()
              add(ok);
           ok.addActionListener(new Listener());
    class Listener extends Superclass implements ActionListener
         public void actionPerformed(ActionEvent e)
                   dispose();
    }How do I controll in the Listener class that the button in Subclass1 is beeing pressed?

    First of all I think I misunderstood your question. You said you had two internal frames, so I thought you wanted to close the internal frame.
    It now looks to me like you want to close the entire JFrame, which makes the code even a little easier. Something like:
    JComponent component = (JComponent)event.getSource();
    JFrame frame = (JFrame)SwingUtilities.windowForComponent( component );
    frame.dispose();
    Ok, I will make a try:
    public static Container getAncestorOfClass(Class c, Component comp)
    w.getAncestorOfClass(w, this); Fiirst you need to learn the basics of reading the API.
    "getAncestorOfClass()" is a static method. That means you don't use a variable to invoke the method. You use the class itself.
    "w" is a variable, which is a JFrame, but that is not what the first parameter should be. The first parameter is a "Class".
    "this" will refer to your Listener class, but you need the Component that generated the ActionEvent.
    When I thought you wanted to close an internal frame then the code would have been something like:
    JComponent component = (JComponent)event.getSource();
    Container container = SwingUtilities.getAncesterOfClass( JInternalFrame.class, component );
    JInternalFrame internalFrame = (JInternalFrame)container;
    internalFrame.invokeSomeMethodHere();If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)", that demonstrates the incorrect behaviour.
    http://homepage1.nifty.com/algafield/sscce.html

  • How to load hierrarchies using dtp  using flat file  in bw  ineed clear ste

    how to load hierrarchies using dtp  using flat file  in bw  ineed clear steps

    Hi,
    If you want to load InfoObjects in the form of hierarchies, you have to activate the indicator with hierarchies for each of the relevant InfoObjects in the InfoObject maintenance. If necessary, you need to specify whether the whole hierarchy or the hierarchy structure is to be time-dependent, whether the hierarchy can contain intervals, whether additional node attributes are allowed (only when loading using a PSA), and which characteristics are allowed.
    1.Defining the source system from which you want to load data:
    Choose Source System Tree ® Root (Source System) ® Context menu (Right Mouse Button) ® Create.
    For a flat file, choose: File System, Manual Metadata; Data via File Interface.
    2.Defining the InfoSource for which you want to load data:
    Optional: Choose InfoSource Tree ®Root (InfoSources) ® Context Menu (Right Mouse Button) ® Create Application Component.
    Choose InfoSource Tree ® Your Application Component ® Context Menu (Right Mouse Button) ® Create InfoSource ® Direct Update
    Choose an InfoObject from the proposal list, and specify a name and a description.
    3.Assigning the source system to the InfoSource
    Choose InfoSource tree ® Your Application Component ® One of your InfoSources ® Context Menu (Right Mouse Button) ® Assign Source System. You are taken automatically to the transfer structure maintenance.
    The system automatically generates DataSources for the three different data types to which you can load data.
          Attributes
          Texts
          Hierarchies (if the InfoObject has access to hierarchies)
    The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
    4.Maintaining the transfer structure / transfer rules
    Choose the DataSource to be able to upload hierarchies.
    Idoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject, for which hierarchies are loaded. With this transfer method, during loading, the structure is converted to the structure of the PSA, which affects performance.
    PSA transfer method: The transfer methods and the communication structure are also generated here. 
    5.Maintaining the hierarchy:
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
    PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields.  This option allows you to load characteristic values having a length greater than 32 characters.
    Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
    The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
    The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
    Description
    Field Name
    Length
    Type
    Node ID
    NODEID
    8
    NUMC
    InfoObject name
    INFOOBJECT
    30
    CHAR
    Node name
    NODENAME
    32
    CHAR
    Catalog ID
    LINK
    1
    CHAR
    Parent node
    PARENTID
    8
    NUMC
    First subnode
    CHILDID
    8
    NUMC
    Next adjacent node
    NEXTID
    8
    NUMC
    Language key
    LANGU
    1
    CHAR
    Description - short
    TXTSH
    20
    CHAR
    Description - medium
    TXTMD
    40
    CHAR
    Description- long
    TXTLG
    60
    CHAR
    The system transfers the settings for the intervals and for time-dependency from the InfoObject maintenance. Depending on which settings you have defined in the InfoObject maintenance, further table fields can be generated from the system.
    The valid from and valid to field is filled if you select Total Hierarchy Time-dependent in the InfoObject maintenance. The time-dependent indicator is activated if you select the Hierarchy Nodes Time-dependent option in the InfoObject maintenance.
    6.Save your entries.
    Depending on which settings you defined in the InfoObject maintenance, additional fields can be generated from the system. Also note the detailed description for Structure of a Flat Hierarchy File for Loading via an IDoc and for Structure of a Flat Hierarchy File for Loading via a PSA.
    Also find the below blog for your reference...
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    You can load hierarchy using process chain...
    Find the below step by step procedure to load hierarchy using process chain...
    http://help.sap.com/saphelp_nw70/helpdata/EN/3d/320e3d89195c59e10000000a114084/frameset.htm
    Assign points if this helps u...
    Regards,
    KK.
    Edited by: koundinya karanam on Apr 8, 2008 1:08 PM
    Edited by: koundinya karanam on Apr 8, 2008 1:09 PM

  • How to automate the data load process using data load file & task Scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
    Thanks

    To follow up on your question are you using the maxl scripts for the dataload?
    If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
    If you are using maxl use this as the batch
    "essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt.

  • HT1339 my older iPod my husband wants to use and his netbook does not have cd drive. How do I down load iPod and iTunes info for this product so he can now use it?

    my older iPod my husband wants to use and his netbook does not have cd drive. How do I down load iPod and iTunes info for this product so he can now use it?

    Your question(s) is/are a little hard to understand.  So your husband has an iPod as well as a netbook and he wants to be able to sync iPod with this netbook is that correct?  If so, he'll need to first download and install iTunes assuming the netbook is running some version of Windows such as 7, Vista, or XP.
    http://www.apple.com/itunes/download/
    As for importing or ripping music, he'll have to either use an external CD/DVD drive that is attached via USB or rip the songs to another PC you have with a built in CD/DVD drive.  Once you have imported them to the other computer, you can transfer the songs to an external hard drive or to his iTunes library via Home Sharing.
    If this isn't quite what you were looking for, please clarify.
    B-rock

  • How do i down load version 11.i to my current itunes as iso 7 wont use my itunes

    How do i down load version 11.1 so i can use my iphone now iv got iso7

    Apple – iTunes 11.1

Maybe you are looking for

  • ITunes Library on External Drive - NO .xml file

    i recently had some serious hard drive corruption on my old computer, and figuring it was time for an upgrade anyway I decided to buy a new MacBook. i had been storing all of my iTunes music on an external hard drive. i'm trying to figure out how to

  • Partial Invoice from Purchase Order

    Hi Experts I did a Purchase order for 10,000 and invoiced for 5,000 but when I try to do the incoice for the balance amount the sytem does not have any open purchase orders. My question is if we do invoice for partial amount can we have the purchase

  • ECATT: drop down value

    Hello, I am trying to update business partner (BP) using eCATT. In Transaction BP, I use: 1- GOTO> Initial Screen 2- enter the BP number and hit enter Now have two issue: a- with no logical reason, sometime i get into the next screen in Display mode

  • Batch number not appearing in OIBT

    Dear Experts, I am facing a problem concerning a Receipt from production. In fact, I have a query running in order to print label. In this query I take the batch number on OIBT table, (link to IGN1 through Baseentry, BaselinNum and BaseType) There is

  • Kernel Panic and Application Crashes when Accessing a Folder

    Hi, I originally posted in the iTunes forum (http://discussions.apple.com/thread.jspa?threadID=252516&tstart=75) with this problem as it was in iTunes where I first noted the issue. However since then I have discovered it is a system wide issue. Ever