[Webtest] is it possible to include python in Webtest XML code

Dierk Koenig Dierk Koenig" <dierk.koenig@canoo.com
Tue, 16 Jan 2007 11:18:52 +0100


you can use the standard ant tasks, e.g. <exec> to start your
python script. 
Other options are using the jython bsf integration with the
<script> step.

regards
Dierk

> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Chang Su
> Sent: Montag, 15. Januar 2007 22:34
> To: webtest@lists.canoo.com
> Subject: [Webtest] is it possible to include python in Webtest XML code
> 
> 
> Hi, 
> 
> I like to use some of my existing python code that
> does data acquisition in my bui test automation code
> which I plan to use webtest. 
> 
> For example, if the BUI display the host name is
> qa_machine_2, I like to lanuch my python code which
> runs cli 'hostname' on the machine and compares the
> result as one of my tests.
> 
> So the question is, is there a way to include python
> inside webtest xml code? 
> 
> 
> thanks,
> 
> Chang
> 
> 
> 
> 
>  
> __________________________________________________________________
> __________________
> Food fight? Enjoy some healthy debate 
> in the Yahoo! Answers Food & Drink Q&A.
> http://answers.yahoo.com/dir/?link=list&sid=396545367
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest