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']

one.click()
plus.click()
one.click()
enter.click()

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

enter.click()

No comments:

Post a Comment