I think you have several possibilities : 1. testing user interactions by real 
click automations: don’t know what is up todays but there were Albatross back 
in 2006 [1] or SeasideTesting [2]. Probably, there are other options.
 2. Simulate client requests programmatically. You could do that in Zinc quite 
easily if you know the different url. Have a look at the book « Enterprise 
Pharo » [3]
 3. BeautifulSoup is called Soup and is accessible through the catalog or 
SmalltalkHub [5]. Works well (note to pharoers: but I think that be nice to 
have an interface like scrappy instead).


Now, as you say "Its a simple socket bridge with which pharo can communicate 
with python and say "hey python do this for me and return me the result ». I’d 
say the second option with Zinc seems to be the best approach, start with the 
chapter about client but you’ll probably need the server chapter so as to get 
bidirectional connections. My guess… and interesting project btw :)
HTH, Cédrik

[1] http://scg.unibe.ch/archive/projects/Brue06a.pdf [2] 
http://www.shaffer-consulting.com/david/Seaside/TestingComponents/TestingComponents.html
 [3] http://files.pharo.org/books/enterprise-pharo/ [4] 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Client/Zinc-HTTP-Client.html
 [5] http://www.smalltalkhub.com/#!/~PharoExtras/Soup

Reply via email to