2018 up to now | 2017 | 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 2007

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

Re: [QF-Test] Finding a dialog box with a title that changes between machines

  • Subject: Re: [QF-Test] Finding a dialog box with a title that changes between machines
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Tue, 18 Sep 2007 15:18:42 +0200

Hello Craig,

it's of no use to change the component Id: This is just an identifier whose
value can be arbitrarily choosen as long as it is unique. Instead you may
try to use a variable for the the Feature property of your dialog component
or, if possible, a regular expression like

 My dialog on .*

where ".*" will match any host name (don't forget to set the option "As

Best regards,

--On Dienstag, September 18, 2007 11:21:41 +0100 Craig Wanstall
<CWanstall@?.com> wrote:

Hi all,

We have a problem when trying to locate a dialog component in one of our
tests. The dialog has a title that includes the hostname of the machine
it is running on. We run the same tests on several different machines; we
would like to use the same tests for consistency. The problem we have is
that QFTest cannot locate the component if it has not been taught the
dialog box and its internal components using the record feature.

We have tried using a global variable to hold the hostname and inserting
it in the component id as follows?


However qftest cannot find the dialog when the hostname is filled out.
We're stuck on this one any suggestions would be great.

Thanks in advance

Craig Wanstall

Enigma Data Solutions

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.487 / Virus Database: 269.13.22/1013 - Release Date:
17/09/2007 13:29

Robert Lahmer
Quality First Software GmbH                http://www.qfs.de
Tulpenstr. 41                           Tel: +49 8171 919874
DE-82538 Geretsried                     Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer     HRB München 140833