List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  

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

Re: [QF-Test] Simple If statement

  • Subject: Re: [QF-Test] Simple If statement
  • From: arulraj.savariraj@?.com
  • Date: Mon, 24 Aug 2015 18:03:04 +0200


If you are doing this in QF Test GUI , You can use the below option.

1. Set the variable in the field 'Variable for Result'. Let's say 'CompPresence'
2. When you run the script , the variable 'CompPresence' will be filled with the value 'true' if the button "Apply" is enabled.
3. You can use the If loop like "If '$(CompPresence)'=='true'"

Arul S

[QF-Test] Simple If statement


08/24/2015 05:41 PM

Sent by : qftest-list-bounces@?.de

I am learning QF-test and want to do a simple if statement. If I make a change on this one page it enabled an "Apply" button that I want to click if it becomes enabled.
When I check if the button is enabled this is what appears
    Check boolean: enabled (true) [buttonApply=>($client)]
So I want to say something like
    if 'buttonApply.enabled'=="true"
    Mouse Click [buttonApply=>($client)]
but that doesn't seem to work_______________________________________________
qftest-list mailing list

This message and any attachments (the "message") is
intended solely for the intended addressees and is confidential.
If you receive this message in error,or are not the intended recipient(s),
please delete it and any copies from your systems and immediately notify
the sender. Any unauthorized view, use that does not comply with its purpose,
dissemination or disclosure, either whole or partial, is prohibited. Since the internet
cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS
(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.
Do not print this message unless it is necessary,consider the environment.


Ce message et toutes les pieces jointes (ci-apres le "message")
sont etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur ou s'il ne vous est pas destine,
merci de le detruire ainsi que toute copie de votre systeme et d'en avertir
immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de
ce message qui n'est pas conforme a sa destination, toute diffusion ou toute
publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer
l'integrite de ce message electronique susceptible d'alteration, BNP Paribas
(et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese
ou il aurait ete modifie, deforme ou falsifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.