UsingDesktopTestingLibrary
1 # LDTP Libraries
2 from ldtp import LdtpExecutionError
3
4 # The main library in the testing-library for Ubuntu
5 from ubuntutesting.ubuntu import GEdit
6
7 try:
8
9 # Gedit is the main class for GEdit tests.
10 gedit = GEdit()
11
12 # Open Gedit application and wait for existance
13 gedit.open()
14
15 # Write the selected text
16 gedit.write_text("Hello World!")
17
18 except LdtpExecutionError, msg:
19 raise
Testing/Automation/Mago/DesktopTestingLibrary/Comparison/UsingDesktopTestingLibrary (last edited 2009-06-29 09:15:01 by 63)