Mailing list - Entries of 2006

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] index of the tree node

  • Subject: Re: [qftestJUI] index of the tree node
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 24 Jan 2006 17:08:33 +0100

Hello Huawei,

Huawei Luo <hluo@?.com> writes:

> Hi, I have a problem to the index of the tree node. my application has
> a Jtree, for some reason, no items are recorded for this tree, when I
> access the tree nodes, I have to use a QftestJUI generated index such
> as BindingFormulaTree&/0/0/0, where BindingFormulaTree is the class
> name, the first 0 is the root node of the tree, second 0 is the first
> child of the root node, third 0 is the first grandchild of the root
> node, and so on. 

Please see tutorial chapter 9 and manual chapter 7 about the various
possibilities for recording tree nodes, including the differences
between numerical and textual index and the difference between using
syntax and using "Sub-item" nodes.

Please play with the various options for recording sub-items. Then, if
you still have specific questions, please ask again.

> After I insert a new tree node, the index for most of
> the nodes will be changed, so I need to get the new index of a node.
> could anybody help me with this?
> Another question is the application being tested with QftestJUI will
> be rewritten using SWT, it seems QftestJUI can only test the java
> application implemented with Swing, right?

Right, but the first pre-release of qftestJUI with SWT support will
become available RealSoonNow[TM].

Best regards,

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876