2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012


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

Re: [QF-Test] JDesktopPane and Frames resolver


  • Subject: Re: [QF-Test] JDesktopPane and Frames resolver
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 12 Dec 2012 09:32:32 +0100

Hello Oleg,

without seeing the details I can only guess, but I assume that the
JTable has a name and you're either using the option setting 'Name
overrides everything' or the InternalFrames and other parents of the
JTable are either not named or have identical names.

The best way to handle such situations is implementing a NameResolver.

If the JTables have a generic, non-unique name you could use the
resolver to suppress the name. Or you could implement one that assigns
a name to the InternalFrame (if you're using hierarchical name
resolution) or a name with combined information from the InternalFrame
and the JTable to the JTable.

For more specific help I really need more information, ideally a
test-suite with two different frames/tables recorded and a run-log
showing replay on the wrong table, ideally with the option

Run-log->Content->Log level for the SUT

set to 'All messages' so that the log contains information about the
component resolution. Please send those to our support.

Best regards,
    Greg

"Rayskiy, Oleg" <Oleg.Rayskiy@?.com> writes:

> Hi, I’ve got a JDesktopPane that can show any number of InternalFrames with JTables in each one.
>
> The problem I’m having is that the JTables are not bound to their InternalFrames in any way so
> QF-Test only runs tests on the currently selected frame. I was wondering if there’s an easy way to
> resolve the JTables to their parent frames.
>
> Thanks, Oleg.
>

-- 
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833