Mailing list - Entries of 2005

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

[qftestJUI] waiting for a component of a given java class

  • Subject: [qftestJUI] waiting for a component of a given java class
  • From: farraige@?.pl
  • Date: Mon, 4 Jul 2005 17:48:34 +0200


I know we can wait for a given component ID. But can we wait also
for a component of a given java class? If so, then how can I do it
(via jython)?

I have the following problem: I have a tree containg profile names.
After clicking a given tree item, the appropriate profile table is
being opened. I make some modifications to the content of this table
and press "Close" button". After that a confirmation dialog box "do
you want to save modified data" is being displayed...
The problem is that the qftestJUI always sets the following name for
this dialog: dialogClose:_profileTableName, where profileTableName
represents name of the profile.

So after making modifications to the following profile tables: pcu,
bscpack, bscbasic, qftestJUI records 3 separate componets:

For me it will be much more comportable if the qftestJUI would
record just one component representing this dialog e.g.

In one of my procedures I would like to wait for this dialog. Now
there is no easy way to implement a generic procedure waiting just
for a confirmation dialog, because qftestJUI produces separate
confirmation dialogs for each of the chosen profiles...

That's why I started wondering if it is possible to wait for a
component of a given class instead of waiting for a given component ID.

Maybe NameResolvers can also bring a solution to my problem? But how
such NameResolver should look like? I made a few experiments but
with no success.

Thank you in advance for your help.

Best Regards,