Best way how to test if something is on the scree

11 views
Skip to first unread message

Peter

unread,
Mar 10, 2011, 8:45:08 AM3/10/11
to easytesting
Hi Alex and the rest :)

I want to test if some components are showing on screen for example:

If user can see error message if log in fails(JDialog in my case)
If user see certain components when he log in successfully.

Right now I use look up which throws exception if component is not
found. This seem like little overkill :).

Take care and thx for FEST.

Alex Ruiz

unread,
Mar 11, 2011, 3:22:10 AM3/11/11
to easyt...@googlegroups.com
Hi Peter,

The only thing I can think for now is regular component lookup, which
you are using now.

It would be nice if have something like:

isShowing("someId", JTextField.class) which can return true/false

If this is something you're looking for, please a file a bug :)

Cheers,
-Alex

> --
> You received this message because you are subscribed to the Google Groups "easytesting" group.
> To post to this group, send email to easyt...@googlegroups.com.
> To unsubscribe from this group, send email to easytesting...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/easytesting?hl=en.
>
>

Peter

unread,
Mar 14, 2011, 7:14:02 AM3/14/11
to easytesting
Hi Alex :), and where to file a bug ? :)

Alex Ruiz

unread,
Mar 16, 2011, 9:33:04 AM3/16/11
to easyt...@googlegroups.com
Hi Peter,

We use JIRA http://jira.codehaus.org/browse/FEST , you need to create
an account though.

Thanks!
-Alex

Reply all
Reply to author
Forward
0 new messages