Anything that's a TestElement can be copied, and can also be cloned for that matter. There's no need to actually create the XML - you can call "clone" on the object in question, and you'll get a deep clone.
-Mike On 26 Aug 2002 at 9:35, Wolfram Rittmeyer wrote: > I am planning to implement the not yet available "Copy"-functionality > for any elements in the JMeter-Tree. This is something I am missing > right now. E.g. copying asertions which sometimes differ only slightly > would be fine. > > I am planning to utilize the way elements get stored on file while > getting saved. That would of course implicate that only elements (and > especially attributes) can be copied for which a save is possible. But > on the other hand: If something is not worth getting saved it isn't > worth getting copied either (you wouldn't want to copy the results > displayed in a GraphResult, I presume - if you want to copy a > GraphResult at all). > > Any objections/recommendations/suggestions? > > Wolfram > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
