Hi Chang,

I'm not very familiar with python, but if you want to execute webtest from 
python you could use something like os.system() to run an external command.

If you are just looking for a way to parse/retrieve HTML in python, maybe this 
is interesting for you:
http://docs.python.org/lib/module-htmllib.html
http://www.boddie.org.uk/python/HTML.html

Jochen.


> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Im Auftrag von Chang Su
> Gesendet: Samstag, 20. Januar 2007 01:57
> An: [EMAIL PROTECTED]; Dierk Koenig
> Betreff: [Webtest] how to launch canoo tests (XML) inside python script??
> 
> Hi, all,
> 
> I am seeking on ideas on how to mix python script with
> webtest.
> 
> This is what I am trying to accomplish,
> 
> 1) start with python sript
> 
> 2) launch a command on remote machine and get the
> results back, say cpu_temperature returned is 60F.
> 
> 3) navigate BUI web pages to retrieve cpu temperature
> in a table, say
> cpu_temperature_bui = 59
> 
> 4) compare 2) and 3) and decide tests fail
> 
> 
> is there a way to do this? how do I launch canoo tests
> (XML) inside python script??  The reason I really
> wanted to do this is that we have existing python
> script to do 1) and 2) already.
> 
> your help is appreciated!!
> 
> thanks,
> 
> Chang
> 
> 
> 
> 
> __________________________________________________________________________
> __________
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives.
> http://tools.search.yahoo.com/toolbar/features/mail/
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to