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] searching in drop-down menu

  • Subject: Re: [QF-Test] searching in drop-down menu
  • From: Martin Moser <martin.moser@?.de>
  • Date: Wed, 11 Jul 2007 16:29:16 +0200

Hi Ghazale,

some notes:

.) Does your combo-box really contain a text "test_produkt____" or does it
contain "test produkt    "?
.) rc.check() takes more arguments than one.

If it contains the version without "_", you have to change your script to
produkt", "check of text")

The next issue is, that a JList doesn't have a method called getText(),
perhaps getSelectedValue() helps you there.
If you want to check the current value of the combo-box, you have to take
the ID of combo-box. There getText() is supported.

If the issue is still open, you should send me your test-suite, that I can
have a deeper look into it.


--On Mittwoch, Juli 11, 2007 14:53:52 +0200 Ghazale Malek
<ghazale.malek@?.de> wrote:


I have a program which set an item to active or deactivated situation;
this item would be showed later in the drop-down menue.

To check this I have tried to write a script which searches in the
drop-down menu to see if the item is there (if it is activated) or not.

get Text()=="test_produkt_____")

The list is a JList.

But I can't find why it doesn't work!!! It doesn't recognise the fetText.

Thank you for your help


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