UsingDesktopTestingLibrary

Differences between revisions 2 and 3
Revision 2 as of 2008-09-11 09:23:20
Size: 607
Editor: 220
Comment: page was renamed from Testing/Automation/LDTP/HowToUseTestingLibrary/Comparison/UsingDesktopTestingLibrary
Revision 3 as of 2009-01-21 09:17:43
Size: 570
Editor: 86
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
# Main LDTP python wrappers
from ooldtp import *

from ldtp import *
from l
dtputils import *
# LDTP Libraries
from ldtp import LdtpExecutionError
Line 9: Line 7:
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)