Changeset 7076 for main/waeup.sirp/trunk/src
- Timestamp:
- 11 Nov 2011, 08:27:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r7063 r7076 652 652 ... 653 653 654 >>> browser.open('http://localhost/myuniversity/faculties/search') 655 >>> browser.getControl(name='query').value = "COURSE1" 656 >>> browser.getControl('Search').click() 657 >>> print browser.contents 658 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 659 ...faculties/TF/TD/courses/COURSE1">COURSE1</a> 660 ... 661 654 662 >>> browser.getControl(name='query').value = "Nonsense" 655 663 >>> browser.getControl('Search').click() 656 664 >>> 'Search Results' in browser.contents 657 665 False 666 667 >>> browser.getControl(name='query').value = "" 668 >>> browser.getControl('Search').click() 669 >>> 'Empty search string' in browser.contents 670 True 658 671 659 672 Deleting courses … … 808 821 ... 809 822 823 Searching certificates 824 ---------------------- 825 826 >>> browser.open('http://localhost/myuniversity/faculties/search') 827 >>> browser.getControl(name='query').value = "My renamed cert" 828 >>> browser.getControl('Search').click() 829 >>> print browser.contents 830 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 831 ...faculties/TF/TD/certificates/CERT1">CERT1</a> 832 ... 833 834 >>> browser.open('http://localhost/myuniversity/faculties/search') 835 >>> browser.getControl(name='query').value = "CERT1" 836 >>> browser.getControl('Search').click() 837 >>> print browser.contents 838 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 839 ...faculties/TF/TD/certificates/CERT1">CERT1</a> 840 ... 810 841 811 842 Deleting certificates … … 982 1013 ... 983 1014 1015 Searching certificatecourses 1016 ---------------------------- 1017 1018 >>> browser.open('http://localhost/myuniversity/faculties/search') 1019 >>> browser.getControl(name='query').value = "COURSE1" 1020 >>> browser.getControl('Search').click() 1021 >>> print browser.contents 1022 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 1023 ...faculties/TF/TD/certificates/CERT1/COURSE1_200">COURSE1</a> 1024 ... 1025 1026 >>> browser.getControl(name='query').value = "*" 1027 >>> browser.getControl('Search').click() 1028 >>> 'Search string not allowed' in browser.contents 1029 True 984 1030 985 1031 Deleting certificatecourses
Note: See TracChangeset for help on using the changeset viewer.