Mailingliste - EintrÀge 2018 bis heute
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jack,<br>
<br>
QF-Test can address components with dynamic window titles by
entering a regular expression in the Feature field of the window
component. <br>
When using a regular expression please be sure to check 'Use regexp'
box under the Feature field.<br>
<br>
So, what you entered looks quite right. Maybe just the tick in the
'Use regexp' box is missing.<br>
<br>
There is a detailed description in the manual on how to use regular
expressions for working with dynamic window titles: <a
href="https://www.qfs.de/qftest/manual/de/bp_componentrecognition.html#sec_bpCRRegex"><a class="moz-txt-link-freetext" href="https://www.qfs.de/qftest/manual/de/bp_componentrecognition.html#sec_bpCRRegex">https://www.qfs.de/qftest/manual/de/bp_componentrecognition.html#sec_bpCRRegex</a></a><br>
and a chapter about regurlar expressions:
<a class="moz-txt-link-freetext" href="https://www.qfs.de/qftest/manual/en/tech_regexp.html#sec_regexp">https://www.qfs.de/qftest/manual/en/tech_regexp.html#sec_regexp</a>.<br>
<br>
Regards,<br>
Ute<br>
<br>
<br>
<div class="moz-cite-prefix">Am 20.01.2016 um 00:21 schrieb Jack
Davis:<br>
</div>
<blockquote
cite="mid:AB20D00483EDC04293F9F6010F9B52B41ED5196F@hb-exch2.ebor.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">Hi all,<br>
<br>
I am using QF Test to test a Java FX application which has a
dynamic Window title with the format:<br>
<br>
User Client <current build tag> - <Dynamic information
about connected networks><br>
<br>
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:<br>
<br>
Feature mismatch for component
'winUser_Client_-__(__Network1_-_Retrying__)'.<br>
Expected: 'User Client dev-1.1.0-614-g71b546e - ( Network1-
INACTIVE : Retrying : Network2: Disconnected )'<br>
Got: 'User Client dev-1.1.0-1079-gf89b6ce - User1 ( Network1 -
ACTIVE : Network2: Disconnected )'<br>
<br>
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.
<br>
<br>
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.<br>
<br>
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.<br>
<br>
Regards,<br>
Jack<br>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
qftest-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:qftest-list@qfs.de">qftest-list@qfs.de</a>
<a class="moz-txt-link-freetext" href="https://www.qfs.de/mailman/listinfo/qftest-list">https://www.qfs.de/mailman/listinfo/qftest-list</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
_______________________________________________________________
Get the most out of QF-Test - Support directly from the authors
* Training & consulting: <a class="moz-txt-link-abbreviated" href="http://www.qfs.de/en/qftest/training.html">www.qfs.de/en/qftest/training.html</a>
* Phone & email support: <a class="moz-txt-link-abbreviated" href="http://www.qfs.de/en/qftest/support.html">www.qfs.de/en/qftest/support.html</a>
_______________________________________________________________
Ute Erler (Extern)
Support
E: <a class="moz-txt-link-abbreviated" href="mailto:support@qfs.de">support@qfs.de</a>
T: +49 8171 38648-20
F: +49 8171 38648-16
Quality First Software GmbH | <a class="moz-txt-link-abbreviated" href="http://www.qfs.de">www.qfs.de</a>
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833 </pre>
</body>
</html>