All pastes #767480 Raw Edit

hari

public python v1 · immutable
·published 2007-11-09 20:02 UTC
rendered paste body
from ldtp import *from ldtputils import *try:	log ("test script", "teststart")	click ("frmUnsavedDocument1-gedit", "btnOpen")	click ("dlgOpenFiles", "tbtnTypeafilename")	waittillguiexist ("dlgOpenFiles")	selectrow ("dlgOpenFiles", "tblPlaces", "hari")	click ("dlgOpenFiles", "tbtnhari")	click ("dlgOpenFiles", "tbtnhari")	settextvalue ("dlgOpenFiles", "txtLocation", "frisco.txt")	click ("dlgOpenFiles", "btnOpen")	waittillguinotexist ("dlgOpenFiles")	settextvalue ("frm*frisco.txt(~)-gedit", "txt0", "oneHelOneHelloTesting LDTP Editor")	selectmenuitem ("frm*frisco.txt(~)-gedit", "mnuSave")	log ("test script", "pass")	log ("test script", "testend")except LdtpExecutionError, msg:	log (str (msg), "cause")	log ("test script", "fail")	log ("test script", "testend")	raise LdtpExecutionError (str (msg))