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] Data binders


  • Subject: Re: [QF-Test] Data binders
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 29 Mar 2019 08:27:25 +0100
  • Delivered-to: qftest-list@?.net

Hi Yann,

did Tom's answer get you on the right track?

Indeed, the databinder.* methods are only useful inside a data driver
node and the values will be bound for the data iteration:

    https://www.qfs.de/en/qf-test-manual/lc/manual-en-user_datadriver.html#usec_datadriver

In case you are you still stuck, please please send your test-suite
(or a short excerpt) to our support address (support@?.de) so I can
see what exactly you're trying to do.

Best regards,
    Greg


LATTES Yann <yann.lattes@?.com> writes:

"Zhao, Tom" <tom.zhao@?.com> writes:

> Hi Yann,
>
> Did you put this script into a data driver node?
>
> Best regards,
>
> Tom Zhao (赵心卓)
>
> From: qftest-list [mailto:qftest-list-bounces@?.net] On Behalf Of LATTES Yann
> Sent: Monday, March 25, 2019 9:54 PM
> To: qftest-list@?.de
> Subject: [QF-Test] Data binders
>
> Hi,
>
> I’m finding a problem with the databinders, I don’t know how to resolve it, I would be really grateful for some clues
> !
>
> One groovy server Script:
>
> databinder.bindDict(rc, 'Test Scenario', dict)
>
> print {$dict} : [TC:[frameworkTest/test_AgendaAndDatablocks.tps], Yes/No:[Y], Descriptions:[], Comment:[]]
>
> In another Groovy server Script in the same TS just after the first one :
>
> def skipped = rc.lookup('Yes/No') == 'N' è getting a Yes/NO is not bound
>
> PS : I’m on qftest-3.5.0 , and I can’t upgrate right now  but I will asap after testing something
>
> Thks ,
>
> Best regards
>
> +-------------------------------------------------------------------------------------------------------+
> |Yann LATTES                                                    |                                       |
> |Apprenti Ingénieur Intégration Système                         |                                       |
> |Tel.: +33 (0) 5 61 19 41 44                                    |               http://intranet.peopleon|
> |                                                               |                                       |
> |THALES LAS SAS                                                 |                                       |
> |                                                               |                                       |
> |105 avenue du Général Eisenhower                               |                                       |
> |                                                               |                                       |
> |31100 Toulouse                                                 |                                       |
> |                                                               |                                       |
> |www.thalesgroup.com                                            |                                       |
> |                                                               |                                       |
> +-------------------------------------------------------------------------------------------------------+
>
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> https://movement.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