Changeset 5947 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 14 Apr 2011, 21:23:48 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/batchprocessing.txt
r5727 r5947 285 285 286 286 >>> open('certificates.csv', 'wb').write( 287 ... """code,faculty_code,department_code,title,study_mode,start_level,end_level, max_pass,application_category288 ... CERT1,FAC1,DEP1,Certificate 1,uf_ft,100, 500,30,basic289 ... CERT2,FAC1,DEP1,Certificate 2,uf_ft,200, 400,30,cest287 ... """code,faculty_code,department_code,title,study_mode,start_level,end_level,application_category 288 ... CERT1,FAC1,DEP1,Certificate 1,uf_ft,100,30,basic 289 ... CERT2,FAC1,DEP1,Certificate 2,uf_ft,200,30,cest 290 290 ... """) 291 291 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r5935 r5947 470 470 >>> print browser.contents 471 471 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 472 ...<span class="required">*</span><span> title</span>472 ...<span class="required">*</span><span>Title</span> 473 473 ... 474 474 … … 488 488 >>> browser.getControl(name='form.end_level').value = '400' 489 489 >>> browser.getControl(name='form.application_category').value = 'UME' 490 >>> browser.getControl(name='form.max_pass').value = '400'491 490 492 491 Finally, we create the certificate: … … 505 504 >>> browser.getControl(name='form.end_level').value = '400' 506 505 >>> browser.getControl(name='form.application_category').value = 'UME' 507 >>> browser.getControl(name='form.max_pass').value = '400'508 506 509 507 >>> browser.getControl('Add certificate').click() … … 626 624 >>> browser.getControl(name='form.end_level').value = '400' 627 625 >>> browser.getControl(name='form.application_category').value = 'UME' 628 >>> browser.getControl(name='form.max_pass').value = '400'629 626 >>> browser.getControl('Add certificate').click() 630 627 … … 638 635 >>> browser.getControl(name='form.end_level').value = '400' 639 636 >>> browser.getControl(name='form.application_category').value = 'UME' 640 >>> browser.getControl(name='form.max_pass').value = '400'641 637 >>> browser.getControl('Add certificate').click() 642 638 … … 885 881 886 882 >>> open('certificates.csv', 'wb').write( 887 ... """code,title,faculty_code,department_code,study_mode,end_level,m_prefix, max_pass,start_level,application_category,review_state888 ... LBA,BACHELOR OF LITERATURE,FA,LIT,UG,ug_ft,500,LIT, 30,100,basic,checked889 ... LMA,MASTER OF LITERATURE,FA,LIT,UG,ug_pt,500,LIT, 30,100,cest,checked890 ... DME,DIPLOMA OF MATH,FS,MAT,DP,dp_ft,200,DME, 30,100,cest,unchecked883 ... """code,title,faculty_code,department_code,study_mode,end_level,m_prefix,start_level,application_category,review_state 884 ... LBA,BACHELOR OF LITERATURE,FA,LIT,UG,ug_ft,500,LIT,100,basic,checked 885 ... LMA,MASTER OF LITERATURE,FA,LIT,UG,ug_pt,500,LIT,100,cest,checked 886 ... DME,DIPLOMA OF MATH,FS,MAT,DP,dp_ft,200,DME,100,cest,unchecked 891 887 ... """) 892 888
Note: See TracChangeset for help on using the changeset viewer.