List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie aber über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren

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

Re: [QF-Test] Data binders

  • Subject: Re: [QF-Test] Data binders
  • From: "Zhao, Tom" <tom.zhao@?.com>
  • Date: Tue, 26 Mar 2019 01:56:32 +0000
  • Delivered-to: qftest-list@?.net
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=selector1-ADVANTEST-COM; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Zn2ZqWVikXHX3MlunMeLlK5yjIlNYsI6MtxYg1+wTU4=; b=FwVjOhv6fD82d6V6yS1/zvYlcecyDn3JC6AqxaOMy+jkGp1bZU5KUonT5HDuFWAS7vsYROT1GliD9rehJ8gTomhZ5emk9l7F2AdfRgnedSt4n2RPmMhILMu/BGV2Vntj0ozwRmdU27WgvZ23egJongegUFgz9ofAL/HkHN3gnG0=

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




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


Apprenti Ingénieur Intégration Système
Tel.: +33 (0) 5 61 19 41 44


105 avenue du Général Eisenhower

31100 Toulouse