Ignore:
Timestamp:
11 Mar 2010, 13:22:03 (15 years ago)
Author:
uli
Message:

Reflect changes in browser components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt

    r4993 r5050  
    198198  >>> print browser.contents
    199199  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
    200   ...<div>The name chosen already exists in the database</div>
     200  ...<div>The code chosen already exists in the database</div>
    201201  ...
    202202
     
    622622  >>> ctrl = browser.getControl(name='form.course')
    623623  >>> ctrl.displayOptions
    624   ['COURSE1 Course 1', 'COURSE2 Course 2']
    625 
    626 If we do not select anything else, the first item will be
    627 selected. That's okay for us. Finally, we create the
    628 certificatecourse:
    629 
     624  ['(no value)', 'COURSE1 Course 1', 'COURSE2 Course 2']
     625
     626We select the first course and create our certificatecourse:
     627
     628  >>> ctrl.getControl('COURSE1').selected = True
    630629  >>> browser.getControl('Add course').click()
    631630
Note: See TracChangeset for help on using the changeset viewer.