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