## page was renamed from Testing/Automation/Desktop/DesktopTestingLibrary/Comparison/UsingDesktopTestingLibrary ## page was renamed from Testing/Automation/Desktop/HowToUseTestingLibrary/Comparison/UsingDesktopTestingLibrary ## page was renamed from Testing/Automation/LDTP/HowToUseTestingLibrary/Comparison/UsingDesktopTestingLibrary {{{#!python # LDTP Libraries from ldtp import LdtpExecutionError # The main library in the testing-library for Ubuntu from ubuntutesting.ubuntu import GEdit try: # Gedit is the main class for GEdit tests. gedit = GEdit() # Open Gedit application and wait for existance gedit.open() # Write the selected text gedit.write_text("Hello World!") except LdtpExecutionError, msg: raise }}}