2018 bis heute | 2017 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


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

Re: [QF-Test] fetch index


  • Subject: Re: [QF-Test] fetch index
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 20 Apr 2007 16:40:06 +0200

Hi Huawei,

/0/0/0 is an interesting option. It would be OK to use as in index in
another QF-Test node and also parseable and editable, like your /0/0/1
example.

We'll take that into consideration.

Thanks and best regards,
    Greg

"Huawei Luo" <hluo@?.com> writes:

> Hi, Greg:
>
> I was expecting to get a string like 0/0/0 for the index of C.
>
> Then I want to increase the last 0 to 1, i.e. 0/0/1, one of the action of my application is to duplicate C, so the tree after duplicating C looks like:
>
> +A
>   +B
>     +C
>     +C
>
> That is why I do above to get the expected index of the duplicated C and to compare it with the actual index of C.
>
> But never mind, I've realized that I don't actually need to fetch the index of the duplicated C. I can fetch its text, use the expected index to check the text.
>
> Thanks
>
> Huawei
>
> -----Original Message-----
> From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
> Sent: Friday, April 20, 2007 4:48 AM
> To: qftest-list@?.de
> Cc: Huawei Luo
> Subject: Re: [QF-Test] fetch index
>
>
> Hi Huawei,
>
> fetch index is currently not implemented for SWT because we haven't
> made up our mind how it should work in this case.
>
> In your example, would you expect the answer to be 0 (C's index in B)
> or 2 (C's index in the tree seen as a list, depending on current
> expanded state of nodes)?
>
> Swing trees have generic support for treating a tree either as a list
> or as a hierarchy. In SWT you have the hierarchy only at API level, so
> what would you do with a result of 2?
>
> Best regards,
>     Greg
>
> "Huawei Luo" <hluo@?.com> writes:
>
> >    Hi, I assume Fetch Index node works for Tree items, but why an empty
> >    string is returned to the receiving variable?
> >
> >
> >    My tree looks like this:
> >
> >
> >    +A
> >
> >         +B
> >
> >             +C
> >
> >
> >
> >    And I want to fetch the index of C
> >
> >
> >    Thanks
> >
> >
> >    Huawei
>
> --
> Gregor Schmid                                Gregor.Schmid@?.de
> Quality First Software GmbH                     http://www.qfs.de
> Tulpenstr. 41                                Tel: +49 8171 919870
> DE-82538 Geretsried                          Fax: +49 8171 919876
> GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833
>
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-list

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833