Re: tester class questions -
Hicks, Curt <Curt.Hicks <at> us.fujitsu.com>
2009-01-15 19:55:18 GMT
I figured it out.
I was finding the combobox and then changing parameters elsewhere that
affected the allowed values in the combobox.
Finding the comboBox afterwards solved this particular problem.
Thanks for your help.
Curt
-----Original Message-----
From: Grant Birchmeier [mailto:gbirchmeier <at> connamara.com]
Sent: Thursday, January 15, 2009 9:35 AM
To: Hicks, Curt
Subject: Re: [abbot-users] tester class questions
Can you paste a simplified fragment of code that illustrates your problem?
-Grant
On Thu, Jan 15, 2009 at 8:38 AM, Hicks, Curt <Curt.Hicks <at> us.fujitsu.com> wrote:
> Sorry ! The missing part is that what I see displayed in
> the GUI, does not match the debug statements. Presumably
> because I'm not using the tester methods, but operating
> directly on combobox.
>
> Curt
>
> -----Original Message-----
> From: Grant Birchmeier [mailto:gbirchmeier <at> connamara.com]
> Sent: Wednesday, January 14, 2009 6:09 PM
> To: Hicks, Curt
> Cc: Timothy Wall; abbot-users <at> lists.sourceforge.net
> Subject: Re: [abbot-users] tester class questions
>
>
> I don't follow your question. What is "this" in your question?
>
>
> On Wed, Jan 14, 2009 at 5:09 PM, Hicks, Curt <Curt.Hicks <at> us.fujitsu.com> wrote:
>>
>> I'm using debug statements as I develop my tests.
>> I can see that what's printing in the debug statements,
>> e.g. the number of items in a combobox pulldown, the
>> selected item, or the items available for selection.
>>
>> (Note that the code being tested DOES change the possible
>> combobox values based on othe values.)
>>
>> Is this because I'm using the comboBox methods rather than
>> the Tester methods ?
>>
>>
>> Thanks very much.
>>
>> Regards,
>> Curt Hicks
>>
>>
>> -----Original Message-----
>> From: Timothy Wall [mailto:twall <at> users.sf.net]
>> Sent: Wednesday, January 14, 2009 3:09 PM
>> To: Hicks, Curt
>> Cc: abbot-users <at> lists.sourceforge.net
>> Subject: Re: [abbot-users] tester class questions
>>
>>
>>
>> On Jan 14, 2009, at 3:27 PM, Hicks, Curt wrote:
>>
>>>
>>> Is there any point to having more than one instance of a particular
>>> tester class ?
>>> e.g. once I've gotten a JComboBoxTester do I need to get another
>>> one, or can I just
>>> continue to reuse the first one ?
>>>
>> A single one will suffice.
>>
>>
>>> what is the difference between using the JComboBoxTester to select
>>> an index,
>>> and using the comboBox method directly ?
>>> It appears that the tester classes generate events on the AWT
>>> thread ? Is this
>>> the only difference ?
>>>
>> In the case of the combo box, notification events will fire in both
>> cases (most Swing components do *not* fire notifications if you change
>> their state).
>>
>> When invoked programmatically, the combo list popup is never activated
>> or selected.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> abbot-users mailing list
>> abbot-users <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/abbot-users
>>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword