Mailingliste - Einträge 2006

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

[qftestJUI] Handling ComboBoxes

  • Subject: [qftestJUI] Handling ComboBoxes
  • From: "Michaelis, Mark" <mark.michaelis@?.com>
  • Date: Tue, 24 Jan 2006 10:21:03 +0100


I want to write a procedure to access generic ComboBoxes. Of course one way
might be to use scripting and access the combobox-component directly. But I
want to use as much of qftestJUI's default nodes as possible.

How far I got:

I have a procedure:

	MPRC (1,1) [$(comboBox)=>$(client)]
	MPRC (0,0) [$["combo.list%s" % (rc.lookup("item"))]=>$(client)]

Where combo.list is:

 `- JScrollPane
     `- JList combo.list

and item is specified as @text or &index.

For the first try the BasicComboPopup and the ComboBox resided in the same
window-component. This worked fine. Then I wanted to move the
combobox.selectItem-procedure to a more generic suite-file. But what to do
with the BasicComboPopup which still was very window-specific. My idea was
to have a generic window like a java.awt.Window with nothing else specified
which contains this BasicComboPopup. I had to extend combobox.selectItem to
wait for this window...

May be this would have worked if there won't be two windows open (the one
where the combobox is in is a modal dialog). But it seems the generic window
matches the window behind the modal dialog. Thus the BasicComboPopup and
therefore the combo.list cannot be found.

Any ideas how I may continue from here? Or nice solitions how to access

Thanks in advance.


Attachment: smime.p7s
Description: S/MIME cryptographic signature