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]

[QF-Test] Syntax question for IF statement using AND in QFTest

  • Subject: [QF-Test] Syntax question for IF statement using AND in QFTest
  • From: Rick Brasche <Rick.Brasche@?.org>
  • Date: Fri, 3 Apr 2015 10:19:29 -0700

Hello All.


This is probably a simple question for most of you but it’s driving me batty.


I have an IF condition that runs off of 3 variables.


One is a loop iteration count and the other is a max number of loops taken from a table.

The other is a flag variable set by how the SUT responds.


It starts the loop like this:

Set variable: ORFoundFlag=False


If data is found, it will

Set variable:ORFoundFlag=True


So at the end of each loop, I have


$(ORFoundFlag) == False AND $(CurrentDateRangeSelector) = $(NBR_DATE_RANGES)


Which gives me a “this is not a valid test” error.


Adding quotes to the False does nothing either. Nor does using _one_ =


I’m hoping extra experienced eyeballs can spot the problem right away.


Thanks in advance!





Rick Brasche,

Information Systems Business Process and Data Entry Automation

Home of Application Testing


“The difficult we do immediately, the impossible just takes a bit longer.” – US Navy SeaBees.

“If it ain’t broke, you’re not trying hard enough.” – “the Red Green Show”


NOTICE: This email message and/or its attachments may contain
information that is confidential or restricted. It is intended only for
the individuals named as recipients in the message. If you are NOT an
authorized recipient, you are prohibited from using, delivering,
distributing, printing, copying, or disclosing the message or content to
others and must delete the message from your computer. If you have
received this message in error, please notify the sender by return