sugarbot's aim is to provide testing and automation facilities for the OLPC Project's Sugar GUI. The project must first identify and evaluate possible implementation options, and then implement the best choice. Although it has a Sugar focus, sugarbot should be easily extensible to other Python-based GUI's.

Friday, July 18, 2008

So Close!

So very, very close. Just trying to get the text-setting/getting properties to work.

For comparison purposes, here is a script that uses native Python:

one = widgets['1']
plus = widgets['+']
enter = widgets['enter']

textEntry = widgets['TextEntry']
textEntry.text = "1+5"
assert textEntry.text.beginswith('1')

No comments: