Changeset 7204 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 26 Nov 2011, 05:58:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r7185 r7204 693 693 False 694 694 695 696 Deleting departments with courses 697 --------------------------------- 698 699 >>> browser.open('http://localhost/myuniversity/faculties/TF/manage') 700 >>> browser.getControl('Cancel', index=0).click() 701 >>> browser.getLink('Manage faculty').click() 702 >>> browser.getControl('Add department').click() 703 >>> ctrl = browser.getControl(name='form.title') 704 >>> ctrl.value = 'Third Department' 705 >>> browser.getControl(name='form.code').value = 'TD3' 706 >>> browser.getControl('Add department').click() 707 >>> browser.open('http://localhost/myuniversity/faculties/TF/TD3/manage') 708 >>> browser.getControl('Add course').click() 709 >>> ctrl = browser.getControl(name='form.title') 710 >>> ctrl.value = 'My Course 5' 711 >>> browser.getControl(name='form.code').value = 'COURSE5' 712 >>> browser.getControl('Add course').click() 713 >>> browser.open('http://localhost/myuniversity/faculties/TF/manage') 714 >>> ctrl = browser.getControl(name='val_id') 715 >>> ctrl.getControl(value='TD3').selected = True 716 >>> browser.getControl("Remove selected", index=0).click() 717 >>> print browser.contents 718 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 719 ...Successfully removed:... 720 ... 695 721 696 722 Certificates
Note: See TracChangeset for help on using the changeset viewer.