rendered paste bodyfrom 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))