Changeset 6758 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 14 Sep 2011, 01:56:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6756 r6758 311 311 student_path = 'http://localhost/app/students/%s' % test_student_id 312 312 self.browser.open(setpassword_path) 313 self.browser.getControl(name=" form.acseries").value = self.existing_series314 self.browser.getControl(name=" form.acnumber").value = self.existing_number315 self.browser.getControl(name=" form.reg_number").value = '123456'313 self.browser.getControl(name="ac_series").value = self.existing_series 314 self.browser.getControl(name="ac_number").value = self.existing_number 315 self.browser.getControl(name="reg_number").value = '123456' 316 316 self.browser.getControl("Show").click() 317 317 self.assertMatches('...Password has been set. Your Student Id is...', … … 320 320 self.browser.open(self.login_path) 321 321 self.browser.getControl(name="form.login").value = test_student_id 322 self.browser.getControl(name="form.password").value = self.existing_number 322 self.browser.getControl( 323 name="form.password").value = self.existing_number 323 324 self.browser.getControl("Login").click() 324 325 self.assertEqual(self.browser.url, student_path)
Note: See TracChangeset for help on using the changeset viewer.