Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 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
regexp").


Best regards,
   Robert



--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?



dialogDirectory_Chooser_[$(hostname)]



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




Videos Downloads Dokumentation Kaufen Gratis Testen