[Dev] Jython and <resources>
Luis Carlos Lara López
llara at AVANTICATEC.NET
Fri Jul 13 08:41:55 PDT 2007
HI Frank, the Jython system works exactly as any other script system (JSR 223)
To add a resource file, in the resource stage you don't use jar but module, like in the ruby example
<resources>
<module name="rubyModule" path="./example_agents/rubyExample/calc.rb"/>
</resources>
The whole example is in tm5/TestMaker/example_agents/rubyExample/
Hope this was helpfull,
Greetings
Luis Carlos Lara
-----Original Message-----
From: dev-bounces at lists.pushtotest.com
[mailto:dev-bounces at lists.pushtotest.com]On Behalf Of Frank Cohen
Sent: Friday, July 13, 2007 9:32 AM
To: PushToTest TestMaker Developers List
Subject: [Dev] Jython and <resources>
Hi William and Luis Carlos: I'm confused about how I am supposed to
identify a Jython script from within a TestScenario as a resource. Is
the correct way:
<resources>
<jar path="./example_agents/dplExample/DPLExample2.py"/>
</resources>
if so, it would seem to me a more natural way would be
<resources>
<script path="./example_agents/dplExample/DPLExample2.py"/>
</resources>
What do you think?
-Frank
--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
TestMaker: The open-source SOA test automation tool
_______________________________________________
Dev mailing list
Dev at lists.pushtotest.com
http://lists.pushtotest.com/mailman/listinfo/dev
More information about the Dev
mailing list