========================= Test script for portal ========================= :Authors: Fred Vos, Sjoerd Schunselaar :Date: 2009-09-30 Goal ++++++++++++++++++++++++++++++ The script is used before every new release. Procedure +++++++++ At least two testers, each working with a different environment (OS, browser), must verify if a new release is okay. Fred Vos asks the testers to test a release in an e-mail message containing the URL of the site to test, with the test script. Known issues that we accept in the test script, are mentioned in the script itself. All test items without such an annotation must pass the tests. Report ++++++ Testers report their findings in an e-mail message to fred.vos@uvt.nl. The test report must include (sample values between brackets): - URL of tested site (http://africa.uvt.nl:8080/neeo-website-1.1.3/) - Date + time (2009-03-01 20:50) - Operating System (Kubuntu 8.10) - Browser + version (Mozilla Firefox v 3.0.7) - List of tests done (All) - Issues found (Clicking any facet value to select it, results in an error page) Tests ++++++ Partners -> omgezet -> testPartner ------------------------------------ - Open portal in browser. The page **must** show the home page with the active partners under 'Institutions'. Each partner **must** present a small logo. - For each partner in the left column click the 'Scholars' link, shown under the name of the partner. For each partner it **must** present an alphabetically sorted list of scholars. After verifying this, go back to the home page using the \ button in the browser or \. Partner -> omgezet -> testPartner (gecombineerd met de vorige) ---------------------------------------------------------------- - Click the 'Scholars' link again for Tilburg University. In the drop-down list 'Name starts with:', change 'Choose one' into 'V'. The page **must** jump to scholars with names beginning with a 'V'. - Click page 1 in the \ list. This **must** bring you back to the first page. Scholar -> omgezet -> scholarTest ---------------------------------- - Click 'Next' in this list to walk through the pages. On the 4th page, scroll to 'V' and click 'Vermeulen, Frederic'. The portal **must** show the publication list for Frederic Vermeulen, with his picture, name of Tilburg University, name of Faculty of Economics and Business Administration and biography. - Click first name of an author in the publication list not equal to 'Vermeulen'. The results list **must** show at least one publication. All publications **must** have an author with the name you clicked earlier; verify this for the first five publications if the search results in more than five hits. - Go back to the publication list using the Back button of the browser. The publication list **must** be shown again. - Click 'Export all' in the grey bar above the publication list. In the popup keep the default values and click '--\>' at the bottom right of the popup. The portal **must** generate the publication list of Frederic Vermeulen as a PDF and show it in a document viewer. - Close the PDF and close the popup. Click the first 'Show full text' under a publication that is not greyed out. This **must** show you a link to a full text. - Click the same 'Show full text' link again. The link(s) must hide again. - Click the 'Show more info' link of the first publication. This **must** show you more info on the publication. - Click the 'Bookmark' link. This **must** open a new window or tab in the browser with only that record shown. - Close the new tab or new window with the single record. Click the same 'Show more info' link again. This **must** hide the extra info. Publication Lists -> omgezet -> testScholarPublicationList ---------------------------------------------------------------- - Click 'Publication Lists' in header panel. Page **must** show you the first page of an alphabetically sorted list of all NEEO scholars. - Change 'Choose One' in the drop-down list after 'Name starts with' to 'Q'. This **must** show the page containing Danny Quah. - Click 'Quah, Danny'; this shows the publication list of Danny Quah. The list **must** be sorted by descending year of publication (verify the year between brackets after the authors list for a publication); verify this for the first 10 publications. - Go to the bottom of the page and click the up-arrow for the last publication. This **must** bring you to the top of the page. Search Publications -> omgezet -> testSearchPublicationBasic -------------------------------------------------------------- - Click 'Search Publications' in header panel. This **must** show the first page of all publications. - Enter 'africa' (without quotes) in search box end hit \. This **must** show you the first page of results for africa with 15 hits; verify '1-15' in grey status bar. - Click 'Next' in the grey bar above the results. This **must** show results 16-30. - Go back with \ button. This **must** show the first page again. - Select Tilburg University from the collections facet on the left hand side. - Hover over the first JEL code in the results (jump to next page if necessary). This **must** show a blue or yellow title with a description in English of the JEL code. - Change to French language in the language selector and hover over the samen JEL code again. This **must** show the description in French without encoding problems. - Switch back to English again. - Click 'Search Publications' in the header panel and enter query 'mali' and click the search button below the query box. This **must** show you a page with results 1-15 for this query. - Remember the number of hits for facet year 2008 and click facet year 2008. This **must** result the same number of publications (verify the dark grey status bar). Folder -> omgezet -> testFolder (muv daadwerkelijke export check) ----------------------------------------------------------------- - Uncheck the year facet you checked in the previous step. Check 6 'Add to folder' checkboxes at random. For each check,the number of items in folder as shown in the red header panel **must** increase. Jump to the next page by clicking 'Next' in the '1 2 3 4 .... n Next\>' pager control. Check one more 'Add to folder' for a publication. Click 'Prev' to go back to the first page and uncheck two publications. The number of selected publications **must** now be 5. - Click the 'book' icon in the red header panel near '5 item(s) in folder'. This **must** show a page with five publications. - Click 'Select all' in grey bar above the publication list. All 'Include in export' checkboxes **must** now be checked. - Unselect one publication at random to keep four publications with 'Include in export' checked. Click 'Export' and a popup window appears. In the top of the window it **must** show 'Export list 4'. Select File format = "RIS". Then click the '--\>' icon at the bottom right of the popup. A text document must open in the application associated with this MIME TYPE. - Close the document and click 'Close' in the popup. The popup **must** disappear. - Click 'clear all' in the red header panel near the '5 item(s) in folder'. this **must** make the list empty. Multilingual search queries (basic) -> omgezet -> testMultilingualsearch --------------------------------------------------------------------------- - Click 'Home' in header panel. Paste or type string 'Elfenbeinküste' in (without quotes) in search box. - In the Multilingual Search dropdown list select the language 'Deutsch'. - Now click on . A new window **must** (*) appear with 4 different translations with the following values: **"The Ivory Coast"**; **"La Côte-d'Ivoire"**; **Elfenbeinküste**; **"La Costa de Marfil"**. Diacritics **must** be shown correctly. (*) Translation depends on Google Translate. Different texts can be caused by Google, but must be reported. - Disable the translation by clicking on the checkbox before the word "English". - Now click on the text in the popup window. - The publication page shows the results. Please validate the following: The breadcrumb path **must** show the translated words, except the English translation: **Results '(Elfenbeinküste OR "La Côte-d'Ivoire" OR "La Costa de Marfil")'** In the search form, the search term **must** be: **(Elfenbeinküste)**. The selected language **must** be **Deutsch**. - Click 'Show' near 'Search History at the bottom of the left panel. The first (most recent) search word **must** be: **(Elfenbeinküste)**. Multilingual search queries (advanced) -> omgezet -> testAdvancedSearch ------------------------------------------------------------------------ - click on 'Home' in the header panel. Paste or type string 'economic crisis' in (without quotes) in search box. - In the Multilingual dropdown list select language 'English'. - click on 'Advanced' (right from 'Search publications'). - A popup window **must** appear. There **must** be two search terms: 'economic' and 'crisis'. The Multilingual search dropdown list must have 'English' selected. - Clear the field with 'crisis' and change 'Economic' to 'Geld'. The searchbox on the left on the screen **must** show '(Geld'). - Change the Multilingual search field in the popup to 'Deutsch'. The Multilingual search box on the left **must** now show 'Deutsch' too. - Click 'Search --\>' in the popup window. - The Multilingua; search popup must now be visible. It **must** show the following values: 'Money', 'Argent', 'Geld' and 'Dinero' [*]_. - Click 'Search --\>'. The Search Publications page **must** be presented with search results. Validate admin + repository -------------------------------- - In the browser address bar enter the URL of the tested site, with '/validate/', for example http://africa.uvt.nl:8080/neeo-website-1.1.3/validate/ This **must** show you a form. - In the text box under 'URL of admin file' enter 'http://www.uvt.nl/diensten/lis/onderzoek/NEEOconfig.xml' (without quotes), check 'Test repositories too' and click the 'Validate' button. After some time a report **must** be shown, ending with a list of 'Testing record oai:wo.uvt.nl:xxxxx' lines. - Enter 'http://www.dummy.com' as a new URL to test, uncheck 'Test repositories too' and hit \. This **must** show a message 'ERROR URL not allowed!' - Enter 'errorurl.url' as a new URL to test, uncheck 'Test repositories too' and hit \. This **must** show a message 'ERROR Invalid URL' Finally ----------- Thank you for testing! .. [*] Translation depends on Google Translate and may change. Report differences anyway.