Changeset 9024 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 19 Jul 2012, 17:33:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9022 r9024 781 781 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 782 782 self.browser.open(datacenter_path) 783 self.browser.getLink('Upload CSV file').click()783 self.browser.getLink('Upload data').click() 784 784 filecontents = StringIO(open('students.csv', 'rb').read()) 785 785 filewidget = self.browser.getControl(name='uploadfile:file') 786 786 filewidget.add_file(filecontents, 'text/plain', 'students.csv') 787 787 self.browser.getControl(name='SUBMIT').click() 788 self.browser.getLink(' Batch processing').click()788 self.browser.getLink('Process data').click() 789 789 button = lookup_submit_value( 790 790 'select', 'students_zope.mgr.csv', self.browser) … … 807 807 """) 808 808 self.browser.open(datacenter_path) 809 self.browser.getLink('Upload CSV file').click()809 self.browser.getLink('Upload data').click() 810 810 filecontents = StringIO(open('studycourses.csv', 'rb').read()) 811 811 filewidget = self.browser.getControl(name='uploadfile:file') 812 812 filewidget.add_file(filecontents, 'text/plain', 'studycourses.csv') 813 813 self.browser.getControl(name='SUBMIT').click() 814 self.browser.getLink(' Batch processing').click()814 self.browser.getLink('Process data').click() 815 815 button = lookup_submit_value( 816 816 'select', 'studycourses_zope.mgr.csv', self.browser)
Note: See TracChangeset for help on using the changeset viewer.