Menu

Recorded identical objects?

Help
bpc2001
2008-06-23
2013-05-20
  • bpc2001

    bpc2001 - 2008-06-23

    When I record a script, I noticed that the description of 2 objects in xml scripts are identical:

      <component class="javax.swing.JScrollPane" id="JScrollPane Instance 2" index="0" parent="JSplitPane Instance" window="main-window" />
      <component class="javax.swing.JScrollPane" id="JScrollPane Instance 4" index="0" parent="JSplitPane Instance" window="main-window" />

    I doubt that this is expected behavior. Can anyone confirm?

     
    • Timothy Wall

      Timothy Wall - 2008-06-24

      That would be a bug.  Usually recording will make use of an existing reference if it matches, to avoid making duplicate references.

       
    • Lorenz

      Lorenz - 2008-07-07

      the ids are different, one has a '2' and the other one a '4' in it. So, you should be ok with that.

       

Log in to post a comment.