How to skip a particular node in a script using test manager

Hi,
We are testing a script recorded for custom forms in R12 on two different instances using test manager.For one instance its running fine.
But in the second instance one message note is not coming (one note which was present during recording is not there after the instance was refreshed). During Playback that node is not matching with recorded script so "object not found error is coming".Is there any way we can bypass that recording during playback through test manager ? Any kind of help is appreciated.
Regards,
Vishal

Sorry for the inconvenience, Below Find detailed explanation of the issue,
INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?>
<Node_1 empID="202" empName="Pro1" oper="Update">
<Node_2 empID="20" empName="Pro2" oper="Update">
<Bode_3 empID="2" empName="Pro3" oper="Update">
<Bode_4 empID="22" empName="Pro4" oper="Update">
<Bode_5 empID="12" empName="Pro5" oper="Delete"/>
<Bode_6 empID="223" empName="Pro6" oper="Insert"/>
<Bode_7 empID="201" empName="Pro7" oper="All"/>
<Node_3 empID="21" empName="Pro71" oper="ll">
</Bode_4>
</Bode_3>
</Node_2>
</Node_1>');
I have a sequence seq_i
seq_i start with 1 increment by 1
am able to display output as below,
Node|EMPID|OPER|EMPNAME|MGRID
Node_1|202|Update|Pro1|Null
Node_2|20|Update|Pro2|Node_1
Bode_3|2|Update|Pro3|Node_2
Bode_4|22|Update|Pro4|Bode_3
Bode_5|12|Delete|Pro5|Bode_4
Bode_6|223|Insert|Pro6|Bode_4
Bode_7|201|All|Pro7|Bode_4
Node_3|21|ll|Pro71|Bode_4
Now I want below one as output
All nodes starting with Bode_, I need to replace that with sequence, seq_i
so for the seq_i (starting with i and incrementing by 1)
Node|EMPID|OPER|EMPNAME|MGRID
Node_1|202|Update|Pro1|Null
Node_2|20|Update|Pro2|Node_1
1|2|Update|Pro3|Node_2
2|22|Update|Pro4|1
3|12|Delete|Pro5|2
4|223|Insert|Pro6|2
5|201|All|Pro7|2
Node_3|21|ll|Pro71|2
Thanks,

Similar Messages

  • How to create a follow up page in scripts using Duplex and Tumble Duplex

    How to create a follow up page in scripts using Duplex and Tumble Duplex in print mode of scripts ?

    Hi ,
    Set the next page property as duplex , and change the print property back to back

  • How to search in particular node

    hi
    kindly tell how can we limit our search to a particular node instaed of the whole content
    thanks in advance

    Since it's all text, why not use a real quick Match Pattern (or Regular Expression, but you don't need that much power here), see attached.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ
    Attachments:
    Two-stage match demo.vi ‏8 KB

  • How to rename a particular node in an xml

    Hi All,
    I have a table called xmltable and I have inserted the below row in to the table,
    INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?>
    <Node_1 empID="202" empName="Pro1" oper="Update">
    <Node_2 empID="20" empName="Pro2" oper="Update">
    <Node_3 empID="2" empName="Pro3" oper="Update">
    <Node_4 empID="22" empName="Pro4" oper="Update">
    <Node_5 empID="12" empName="Pro5" oper="Delete"/>
    <Node_6 empID="223" empName="Pro6" oper="Insert"/>
    <Node_7 empID="201" empName="Pro7" oper="All"/>
    </Node_4>
    </Node_3>
    </Node_2>
    </Node_1>');
    I Have created a sequence seq_i
    I want to replace a particular node with next sequence seq_i,
    Ex: - Assume I want to replace only 'Node_2' with 'seq_i.nextval',
    Can any one help me in acheiving this?
    Thanks,

    Sorry for the inconvenience, Below Find detailed explanation of the issue,
    INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?>
    <Node_1 empID="202" empName="Pro1" oper="Update">
    <Node_2 empID="20" empName="Pro2" oper="Update">
    <Bode_3 empID="2" empName="Pro3" oper="Update">
    <Bode_4 empID="22" empName="Pro4" oper="Update">
    <Bode_5 empID="12" empName="Pro5" oper="Delete"/>
    <Bode_6 empID="223" empName="Pro6" oper="Insert"/>
    <Bode_7 empID="201" empName="Pro7" oper="All"/>
    <Node_3 empID="21" empName="Pro71" oper="ll">
    </Bode_4>
    </Bode_3>
    </Node_2>
    </Node_1>');
    I have a sequence seq_i
    seq_i start with 1 increment by 1
    am able to display output as below,
    Node|EMPID|OPER|EMPNAME|MGRID
    Node_1|202|Update|Pro1|Null
    Node_2|20|Update|Pro2|Node_1
    Bode_3|2|Update|Pro3|Node_2
    Bode_4|22|Update|Pro4|Bode_3
    Bode_5|12|Delete|Pro5|Bode_4
    Bode_6|223|Insert|Pro6|Bode_4
    Bode_7|201|All|Pro7|Bode_4
    Node_3|21|ll|Pro71|Bode_4
    Now I want below one as output
    All nodes starting with Bode_, I need to replace that with sequence, seq_i
    so for the seq_i (starting with i and incrementing by 1)
    Node|EMPID|OPER|EMPNAME|MGRID
    Node_1|202|Update|Pro1|Null
    Node_2|20|Update|Pro2|Node_1
    1|2|Update|Pro3|Node_2
    2|22|Update|Pro4|1
    3|12|Delete|Pro5|2
    4|223|Insert|Pro6|2
    5|201|All|Pro7|2
    Node_3|21|ll|Pro71|2
    Thanks,

  • How to find a particular word in a file using java

    Program how to find a particular word in a file

    SirivaniG wrote:
    Program how to find a particular word in a fileOkay, I finished it. Now what?

  • How to skip the header rows of the file using UTL_FILE?

    Hi,
    I created a procedure to read the file from shared location using UTl_FILE package. But, I stucked why because I don't know how to skip the header rows as those rows are headings for one of the report.Since, please help me.
    Regards,
    Vissu.....

    vissu wrote:
    Hi,
    I created a procedure to read the file from shared location using UTl_FILE package. But, I stucked why because I don't know how to skip the header rows as those rows are headings for one of the report.Since, please help me.
    Regards,
    Vissu.....UTL_FILE just reads data from the file. It has no concept of what could be a "header" or "body" or "records" or "footer" or any other data based concept. If you want to skip lines of a file, you will just need to read them using UTL_FILE and ignore them.

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • How to set the value of process variables/payload using a managed bean?

    Hello,
    Someone can give me an example about how to set the values of a process payload in a managed bean?
    thank you!

    Try this:
    jsf page:
    <af:selectOneChoice label="Select Suburb"
    requiredMessageDetail="Select a suburb"
    valueChangeListener="#{selectOneChoiceBean.onValueChanged}"
    validator="#{selectOneChoiceBean.validate}"
    unselectedLabel="None" autoSubmit="true"
    binding="#{selectOneChoiceBean.selectOneChoice}"
    value="#{selectOneChoiceBean.value}">
    <f:selectItems value="#{selectOneChoiceBean.selectionList}"/>
    </af:selectOneChoice>
    backing bean:
    public class SelectChoiceBean {
    private List<SelectItem> selectionList;
    private String value = "B";
    private RichSelectOneChoice selectOneChoice;
    public SelectChoiceBean() {
    initSelectionList();
    public void setSelectionList(List<SelectItem> selectionList) {
    this.selectionList = selectionList;
    public List<SelectItem> getSelectionList() {
    return selectionList;
    public void onValueChanged(ValueChangeEvent valueChangeEvent) {
    System.out.println(valueChangeEvent.getNewValue());
    // Add event code here...
    public void validate(FacesContext facesContext, UIComponent uIComponent,
    Object object) {
    // Add event code here...
    private void initSelectionList() {
    selectionList = new ArrayList<SelectItem>();
    selectionList.add(new SelectItem("A", "A label"));
    selectionList.add(new SelectItem("B", "B label"));
    selectionList.add(new SelectItem("C", "C label"));
    public void setValue(String value) {
    this.value = value;
    public String getValue() {
    return value;
    public void setSelectOneChoice(RichSelectOneChoice selectOneChoice) {
    this.selectOneChoice = selectOneChoice;
    public RichSelectOneChoice getSelectOneChoice() {
    return selectOneChoice;
    }

  • How to prevent running a sequence two times by using "Test UUTs or F5"?

    How can prevent that a user can press "F5 or Test UUTs" more than one time???
    Greets
    Matthias

    Hi Matthias,
    If you haven't made any changes to your SequentialModel.seq then before you start make a copy of the SequentialModel.seq found in C:\TestStand\Components\NI\Models\TestStandModels and copy this to C:\TestStand\Components\USER\Models\TestStandModel​s.
    Now launch the SeqEditor.
    If you open the SequentialModel.seq file found in the C:\TestStand\Components\USER\Models\TestStandModel​s folder. With the
    Test UUTs sequence active. Select the Menu Item Edit | Sequence Properties.
    You should have the Test UUTs Properties dialog visible. Select the Model Tab. Enable the Hide Entry Point Execution control. Ok the changes and save the SequentialModel.seq file.
    Now when you run your Sequence you will only beable to run one execution.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to disable a particular node in JTree?

    Hi
    I am working with an application where in which I have a tree component and when a select a node and click a disable button , I want to disable the selected node(that is no further selection of that node possible until I enable it). I am using DefaultTreeCellRenderer for rendering nodes. I tried the following.
    DefaultTreeCellRenderer renderer = (DefaultTreeCellRenderer)tree.getCellRenderer();
    JLabel label = (JLabel) renderer.getTreeCellRendererComponent(tree,selectedNode,true,true,false,row,true);
    label.setEnabled(false);
    But it doesn't work.
    Does any one know how to do this?
    Thank you.

    Its not going to work if you implement the TreeCEllRenderer, cos' all it does is paint your tree.
    What u need to implement is the treeSelectionListener interface,
    and override the addSelectedPath(path), addSelectedPath(paths[]) etc.
    You might want to create a list of all the nodes that the user selectes to diable, and then in these methods decide if the node is that then do not allow its selection.

  • How to select a particular node in a tree?-want suggestions urgent

    i've to make a tree showing "c:\" folder structure of the system. Initially i'm adding the folders in c:\ only tothe tree. And i'm adding the subfolders when ever i select a particular folder. I'm opening the subfolders and inner subfolders of it and so inside like that. now i'm closing the window . i want the tree to reopen with the previously opened level when ever i again run the program. On closing i'm storing the last selected node using tree.getMaxSelectionPath() . And on reopen i'm setting it as tree.setSelectionPath(tree.getMaxSelectionPath()).
    But it is not opening the entire path. it is opening uptop one level only. what to do. Needs suggestion urgently.
    Thnaks for suggestons.

    Hi again,
    I am sorry, I cannot help in another way than looking at the documentation, because I have currently no JDK available here. If expandPath(...) doesn't work, you can try to get all the nodes of that path and expand them from the root node downwards, perhaps that will work.
    greetings Marsian

  • How to set a particular node selected in a JTree from within the model

    I have an adapter class that provides communication between my JTree and data model. My adapter class implements TreeModel, TreeExpansionListener, TreeSelectionListener and a listener for changes to my data model.
    My data model keeps reference to the currently selected node. It is working quite nicely when I select a tree node with the mouse (the data model is updated accordingly with the node selected), however my problem occurs trying to go the other way (set the selected node in my data model and have it reflected in the tree).
    I know that my selection in the tree is changing correctly as when the selection changes it fires off an event to update the attributes window associated with the currently selected node. I just can't get the node to become highlighted.
    Any ideas would be most welcome.
    Thanks,
    Beck.

    Does your model really have to keep track of the selected item or can the two views (the JTree and the attributes window) not be coupled together in the user interface instead?
    Failing that, you could always consider implementing TreeSelectionModel as well and calling JTree.setSelectionModel since you're keeping track of the tree selection for it already. This is quite a bit of work though.
    If that's too much trouble then if you can work out the TreePath for the node that's been programmatically selected through your model then you could use JTree.getSelectionModel().setSelectionPath. Have a look at tree.getSelectionModel().setSelectedPath(new TreePath(selectedObject)).
    This approach is a bit warped, though, since it implies that your model knows about the view and therefore couples them together.

  • How to skip first TWO Lines of   .txt  file    using XSLT Mapping

    Hi Friends  ,
                              I have an .txt file in has the format as
                               <TEST>
                                4564564545
                                56456444566
                                56465
                                    How can i skip the first two Lines when i am writing the XSLT Mapping ?
                              That <TEST> and empty line shouldn't go the rfc  .
                             How can i skip and sent to rfc  using XSLT Mapping ?
    Best Regards .,
    V.Rangarajan

    you can avoid the empty lines in your File Content Conversion by defining offset.
    <i>Under Document Offset, specify the number of lines that are to be ignored at the beginning of the document.
    This enables you to skip comment lines or column names during processing. If you do not make an entry, the default value is zero lines.</i>
    ref: http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    then the generated XML after FCC will not have the empty lines.

  • How do you get a Node's text value using DOM?

    Hi,
    Can anyone tell me how I can extract the text values from <currency>, <Handle>, <shortcut> and <source> tags?
    This is my Code
    import org.w3c.dom.*;
    import org.apache.xerces.parsers.DOMParser;
    public class CurveConfSave{
    public static void walkover(Node n){
    if( n.getNodeType() == Node.ELEMENT_NODE){
         System.out.println("Walking over: " + ((Element)n).getNodeName());
         for( Node c = n.getFirstChild();c != null;c=c.getNextSibling()){
              walkover(c);
    public static void main(String[] args) {
    try {
    DOMParser p = new DOMParser();
    p.parse("CurveConf1.xml");
    Document doc = p.getDocument();
    NodeList liveCurvesNodeList = doc.getElementsByTagName("LiveCurves");
    System.out.println("Num items: " + liveCurvesNodeList.getLength());
    // Get the first node from the node list
    Node liveCurvesNode = liveCurvesNodeList.item(0);
    System.out.println("Live Curves Node: " + liveCurvesNode.getNodeName());
    walkover(liveCurvesNode);
    } catch (Exception ex) {
    System.out.println(ex);
    This is the xml chunk that I want to mainpulate
    <LiveCurves>
    <dd.enumerate>
    <AUD>
    <Currency>AUD</Currency>
    <Handle>GregB_AUD.today.</Handle>
    <Shortcut>LondonJava</Shortcut>
    <Source>XDB</Source>
    </AUD>
    </dd.enumerate>
    <dd.enumerate>
    <CAD>
    <Currency>CAD</Currency>
    <Handle>GregB_CAD.today.</Handle>
    <Shortcut>LondonJava</Shortcut>
    <Source>XDB</Source>
    </CAD>
    </dd.enumerate>

    This is the new modified code but I still get blanks for the Text Values I am trying to retrieve....
    import org.w3c.dom.*;
    import org.apache.xerces.parsers.DOMParser;
    public class CurveConfSave{
    public static void walkover(Node n){
    if( n.getNodeType() == Node.ELEMENT_NODE){
         System.out.println("Walking over: " + ((Element)n).getNodeName());
         for( Node c = n.getFirstChild();c != null;c=c.getNextSibling()){
              if("GBP".equals(c.getNodeName())){
                        NodeList childNodes = c.getChildNodes();
                        System.out.println("Child Nodes Length " + childNodes.getLength());
                        for (int i=0; i < childNodes.getLength();i++){
                        if(childNodes.item(i).getNodeType() == Node.ELEMENT_NODE){
                        System.out.println("Node value: " + "[" + childNodes.item(i).getNodeName() + "]");
                        if(childNodes.item(i).getNodeType() == Node.TEXT_NODE){
                        System.out.println("Node value: " + "[" + childNodes.item(i).getNodeValue() + "]");
                   System.exit(0);
              walkover(c);
    public static void main(String[] args) {
    try {
    DOMParser p = new DOMParser();
    p.parse("CurveConf1.xml");
    Document doc = p.getDocument();
    NodeList liveCurvesNodeList = doc.getElementsByTagName("LiveCurves");
    System.out.println("Num items: " + liveCurvesNodeList.getLength());
    // Get the first node from the node list
    Node liveCurvesNode = liveCurvesNodeList.item(0);
    System.out.println("Live Curves Node: " + liveCurvesNode.getNodeName());
    walkover(liveCurvesNode);
    } catch (Exception ex) {
    System.out.println(ex);

  • How to create a Hierarchy Node Variable to be used in Infopackages ?

    Hello,
    I use BW 3.5.
    I need to create a hierarchy node variable (filter) to be used further in Infopackages as OLAP Variable.
    How can I do ?
    Please give a step-by-step answer,
    Thank you very much,
    Thomas

    Hi Again,
    You can use ABAP program in the process chain.
    I guess there are some OS level commands in ABAP which will allow you to open, close, read , write and move files.
    Serach in ABAP help or on net.
    Bes regards,
    Sunmit.

Maybe you are looking for

  • Time Capsule as Hard Drive for older iMac

    After upgrading to Snow Leopard on my MacBook, my family now has four laptops that can take advantage of time machine for wireless backups, so I want to buy time capsule to do that easily. Will I also be able to use it as a hard drive for an older no

  • IMac 27" pick up

    Hey guys out there, isn't it possible ( - with the Apple Care Protection Plan - ) that Apple pick up my iMac at home? I've got an problem with the display and/or the graphic boar - my display is darker on the left side, than on the right side. So is

  • How do I add a recycle/wastebin to fat32 drive ? [Solved]

    I have added an extra hardrive to my pc (pata) that I use to keep all my music on. I formatted the drive using gparted, and it is fat32 to allow it to be swapped to other machines. I mount the drive with this line in fstab /dev/sdb1 /home/tim/Music v

  • Is there any way to judge whether two streamings are casted by the same client?

    Hello, My app use two different streams to send video and audio from flash clients to the server. So another client need to judge whether two streamings are casted by the same client or not. Is there any way to do this? For example, if it is possible

  • HTTP timeout issue in synchronous Proxy to HTTP interface

    Hi All, I am working on an Proxy(interface - TCode-sproxy) to HTTP Synchronous scenario. In few cases the target API link takes 15-30 minutes to respond back. But I'm getting timeout error saying that connection timed out within 5-6 minutes only. Wha