Changeset 8364 for main/waeup.kofa/trunk
- Timestamp:
- 5 May 2012, 10:42:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/browser.txt
r8065 r8364 74 74 ... 75 75 76 Registered users with an email address can request a password change: 77 78 >>> root['myuniversity']['users'].addUser('forgetful', 'secret',title='Bob Forgetful', 79 ... description='A forgetful user', email='aa@aa.ng') 80 >>> browser.open('http://localhost/myuniversity/sendpw') 81 >>> browser.getControl(name="form.identifier").value = 'forgetful' 82 >>> browser.getControl(name="form.email").value = 'aa@aa.ng' 83 >>> browser.getControl("Get login credentials").click() 84 >>> print browser.contents 85 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 86 ...An email with your user name and password has been sent to aa@aa.ng... 87 76 88 Now we login as manager:: 77 89 … … 112 124 ... 113 125 114 The default frontpage ReSThas been saved in a dictionary126 The default frontpage HTML has been saved in a dictionary 115 127 and is properly rendered on the frontpage of the portal: 116 128 … … 118 130 >>> print browser.contents 119 131 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 120 ...<h1>Welcome to Kofa...</h1>132 ...<h1>Welcome to WAeUP.Kofa...</h1> 121 133 ... 122 134 … … 132 144 >>> print browser.contents 133 145 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 134 ...<h1>Willkommen in Kofa</h1>146 ...<h1>Willkommen auf WAeUP.Kofa...</h1> 135 147 ... 136 148 … … 224 236 225 237 >>> browser.open('http://localhost/myuniversity/users') 226 >>> browser.getControl("Remove" ).click()238 >>> browser.getControl("Remove", index=0).click() 227 239 >>> 'User account bob successfully deleted' in browser.contents 228 240 True 241 229 242 230 243
Note: See TracChangeset for help on using the changeset viewer.