UsingDesktopTestingLibrary

Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2008-08-28 11:45:19
Size: 496
Editor: static-101-137-235-87
Comment:
Revision 5 as of 2009-06-29 09:15:01
Size: 797
Editor: 63
Comment: The project changed the name
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## 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
Line 2: Line 5:
# Main LDTP python wrappers
from ooldtp import *

from ldtp import *
from l
dtputils import *
# LDTP Libraries
from ldtp import LdtpExecutionError
Line 8: Line 9:
from ubuntutesting.ubuntu import * from ubuntutesting.ubuntu import GEdit

   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)