Linux Desktop Testing Project: Difference between revisions

Content deleted Content added
Cjbayliss (talk | contribs)
m Added a ref
Cjbayliss (talk | contribs)
No edit summary
Line 48:
# The standard import stuff.
from ldtp import *
importfrom ooldtp import context as locate
from time import sleep
 
Line 60:
# Now we type into gedit.
text_field = gedit_win.getchild('txt1')
text_field.enterstring('"G'Day mate!'")
 
# Save a picture to prove we did it.
Line 77:
 
# Wait until gedit is gone.
gedit_win.waittillguinotexist()
</nowiki>
 
== References ==