Ignore:
Timestamp:
26 Apr 2011, 20:08:25 (14 years ago)
Author:
Henrik Bettermann
Message:

Add more vocabularies.

File:
1 edited

Legend:

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

    r5978 r5986  
    484484Set the remaining required fields:
    485485
    486   >>> browser.getControl(name='form.study_mode').value = 'combined'
     486  >>> browser.getControl(name='form.study_mode').value = ['ume_ft']
    487487  >>> browser.getControl(name='form.start_level').value = ['100']
    488488  >>> browser.getControl(name='form.end_level').value = ['400']
    489   >>> browser.getControl(name='form.application_category').value = 'UME'
     489  >>> browser.getControl(name='form.application_category').value = ['basic']
    490490
    491491Finally, we create the certificate:
     
    500500  >>> ctrl.value = 'Another cert with same code'
    501501  >>> browser.getControl(name='form.code').value = 'CERT1'
    502   >>> browser.getControl(name='form.study_mode').value = 'combined'
     502  >>> browser.getControl(name='form.study_mode').value = ['ume_ft']
    503503  >>> browser.getControl(name='form.start_level').value = ['100']
    504504  >>> browser.getControl(name='form.end_level').value = ['400']
    505   >>> browser.getControl(name='form.application_category').value = 'UME'
     505  >>> browser.getControl(name='form.application_category').value = ['basic']
    506506
    507507  >>> browser.getControl('Add certificate').click()
     
    620620  >>> browser.getControl(name='form.code').value = 'CERT1'
    621621  >>> browser.getControl(name='form.title').value = 'Certificate 1'
    622   >>> browser.getControl(name='form.study_mode').value = 'combined'
     622  >>> browser.getControl(name='form.study_mode').value = ['ume_ft']
    623623  >>> browser.getControl(name='form.start_level').value = ['100']
    624624  >>> browser.getControl(name='form.end_level').value = ['400']
    625   >>> browser.getControl(name='form.application_category').value = 'UME'
     625  >>> browser.getControl(name='form.application_category').value = ['basic']
    626626  >>> browser.getControl('Add certificate').click()
    627627
     
    631631  >>> browser.getControl(name='form.code').value = 'CERT2'
    632632  >>> browser.getControl(name='form.title').value = 'Certificate 2'
    633   >>> browser.getControl(name='form.study_mode').value = 'combined'
     633  >>> browser.getControl(name='form.study_mode').value = ['ume_ft']
    634634  >>> browser.getControl(name='form.start_level').value = ['100']
    635635  >>> browser.getControl(name='form.end_level').value = ['400']
    636   >>> browser.getControl(name='form.application_category').value = 'UME'
     636  >>> browser.getControl(name='form.application_category').value = ['basic']
    637637  >>> browser.getControl('Add certificate').click()
    638638 
Note: See TracChangeset for help on using the changeset viewer.