Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

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 2011

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

Re: [QF-Test] Conditional or script driven breakpoints

  • Subject: Re: [QF-Test] Conditional or script driven breakpoints
  • From: Ivan Boelle <ivan.boelle@?.com>
  • Date: Fri, 11 Nov 2011 07:14:44 -0600


Maybe you can write à procedure with a single node on which you activate à breakpoint. (or a long wait delay)

And in your TC you can have à script that calls the procedure (rc.callProcedure) if your excel debug-column contains true.

Is it what you need ?

Le 11 nov. 2011 à 00:56, "Gauthier, Denis" <Denis.Gauthier@?.au> a écrit :

Dear QFTest user,

does anyone happen to know if it is possible to make a run pause (like a breakpoint) through a script?
I was thinking about something like rc.pauseTest

The rational is that my TestCases are being executed based on an Excel spreadsheet which lists the sequence of TC to execute.
This mechanism support a column in Excel that says if the TC should be executed or not, but I have the need to execute a set of TCs and then pause to debug the next one.
I can't execute this TC only (it works on its own, but not when executed after the others) and it is a pain to start a full debugging session an manually go through.

The only hack I found is to have a node 'Set Variable' with the 'Interactive' field evaluated from a flag from the Excel spreadsheet. This then allows to pause the execution as needed but I was wondering if there was any nicer way of doing this.
The ManualStepDialog seems to allow doing the same kind of thing, but this is quite an overkill ..



------------------------------------------------------------------------- DISCLAIMER: This e-mail transmission and any documents, files and previous e-mail messages attached to it are private and confidential. They may contain proprietary or copyright material or information that is subject to legal professional privilege. They are for the use of the intended recipient only. Any unauthorised viewing, use, disclosure, copying, alteration, storage or distribution of, or reliance on, this message is strictly prohibited. No part may be reproduced, adapted or transmitted without the written permission of the owner. If you have received this transmission in error, or are not an authorised recipient, please immediately notify the sender by return email, delete this message and all copies from your e-mail system, and destroy any printed copies. Receipt by anyone other than the intended recipient should not be deemed a waiver of any privilege or protection. Thales Australia does not warrant or represent that this e-mail or any documents, files and previous e-mail messages attached are error or virus free. -------------------------------------------------------------------------
qftest-list mailing list

Videos Downloads Documentation Buy Free Trial