List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 

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

Re: [QF-Test] Dynamic Window name causes excessive warnings

  • Subject: Re: [QF-Test] Dynamic Window name causes excessive warnings
  • From: "Ute Erler, QFS Support" <support@?.de>
  • Date: Wed, 20 Jan 2016 10:51:20 +0100

Hi Jack,

QF-Test can address components with dynamic window titles by entering a regular _expression_ in the Feature field of the window component.
When using a regular _expression_ please be sure to check 'Use regexp' box under the Feature field.

So, what you entered looks quite right. Maybe just the tick in the 'Use regexp' box is missing.

There is a detailed description in the manual on how to use regular expressions for working with dynamic window titles:
and a chapter about regurlar expressions:


Am 20.01.2016 um 00:21 schrieb Jack Davis:
Hi all,

I am using QF Test to test a Java FX application which has a dynamic Window title with the format:

User Client <current build tag> - <Dynamic information about connected networks>

I have created a test suite which executes all the tests I want correctly. When I get a new build of the software the build tag changes so the Feature name changes. The test still runs correctly however I get a lot of warnings of this type:

Feature mismatch for component 'winUser_Client_-__(__Network1_-_Retrying__)'.
Expected: 'User Client dev-1.1.0-614-g71b546e -  (    Network1- INACTIVE  : Retrying  : Network2: Disconnected   )'
Got: 'User Client dev-1.1.0-1079-gf89b6ce - User1 (   Network1 - ACTIVE  : Network2: Disconnected   )'

As you can see the "User Client" part doesn't change and I guess that is how the test is able to execute without giving me any feature recognition ERRORS.

I have tried putting in a wild card like this "User Client.*" but QF Test doesn't get what I mean by that. I can actually manually edit all the Window entries in Windows and components so the test runs smoothly but that only lasts until the next build or change in Network state.

I am quite patient but this constant editing is starting to get on my nerves. Is there any way to get QF Test to ignore everything past "User Client" in the window title? Note that the Network1 and Network2 ACTIVE/INACTIVE state can change during the execution of the program so even if I do edit everything I still get warnings when one of those networks change their state during the test.


qftest-list mailing list


Get the most out of QF-Test - Support directly from the authors
* Training & consulting:
* Phone & email support:

Ute Erler (Extern)

E: support@?.de
T: +49 8171 38648-20
F: +49 8171 38648-16

Quality First Software GmbH |
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833