Mailingliste - Einträge 2015
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Simple If statement
Hello Arul, exellent answer, thank you for replying to Daniel. This is exactly how a check is intended to be used for a conditional statement. For the record, however, I'd like to add that in the common case these steps are not necessary. QF-Test automatically waits for the target component to become enabled before it performs a mouse click. If the target component remains disabled for the period specified in the timeout options https://www.qfs.de/qftest/manual/en/opt_play.html#sec_opt_autodelay an exception is thrown. But if you really have two alterntive paths for excution depending on the enabled state of a component, this is just the way to go. Best regards, Greg arulraj.savariraj@?.com writes: > Hello, > > 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'" > > Thanks > Arul S > > [QF-Test] Simple If statement > > (Internet) To: qftest-list > listfilter 08/24/2015 05:41 PM > [cid] > > 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 > qftest-list@?.de > https://www.qfs.de/mailman/listinfo/qftest-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. > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://www.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833
|
Wir verwenden Cookies zur anonymisierten Auswertung Ihres Besuchs auf unserer Webseite durch »Matomo«. Dafür benötigen wir Ihr Einverständnis, welches für zwölf Monate gilt. Ein Widerruf bzw. Opt-out ist jederzeit auf unser Datenschutz-Seite möglich.
1. Funktionale Cookies
Wir verwenden funktionale Cookies, um die Basisfunktionalität der Webseite zu gewährleisten.
2. Performance und Statistik Cookies
Wir verwenden Matomo zur Analyse und Optimierung unserer Webseite. Cookies erlauben eine anonyme Erfassung der Informationen und helfen uns, Ihnen einen benutzerfreundlichen Besuch unserer Webseite zu bieten.
Dieses Cookie enthält eine eindeutige jedoch pseudonymisierte Matomo-interne Besucher-ID zur Erkennung wiederkehrender Besucher.
Dieses Cookie wird verwendet, um zu tracken, von welcher Website der anonymisierte Benutzer auf die Website gekommen ist.
Das Session Cookie von Matomo wird verwendet, um die Seitenanforderungen des Besuchers während der Sitzung zu verfolgen.
wird erzeugt und versucht sofort wieder zu löschen (zur Prüfung, ob der Browser des Besuchers Cookies unterstützt).
Kurzzeit-Cookies für temporäre Besuchsdatenspeicherung.
Kurzzeit-Cookies für temporäre Besuchsdatenspeicherung.