| categorizationSearch | ||
| setTimeout | 120000 | |
| open | restAPI/systemLog?token=dolog&level=INFO&message=----- Selenium categorizationSearch |
|
| open | logout | |
| type | username | Administrator |
| type | password | Administrator |
| clickAndWait | Submit | |
| verifyTextPresent | Administrator | |
| clickAndWait | link=Workspaces | |
| clickAndWait | link=Faceted Search WS | |
| clickAndWait | link=Klaatu | |
| clickAndWait | link=Edit | |
| watchA4jRequests | ||
| select | //*[@id='document_edit:nxl_dublincore:nxw_coverage:nxw_coverage_continent'] | Europe |
| waitForA4jRequest | 10000 | |
| select | //*[@id='document_edit:nxl_dublincore:nxw_coverage:nxw_coverage_country'] | Aland Islands |
| clickAndWait | //input[@value="Save"] | |
| clickAndWait | link=Faceted Search WS | |
| clickAndWait | link=Barada | |
| clickAndWait | link=Edit | |
| watchA4jRequests | ||
| select | //*[@id='document_edit:nxl_dublincore:nxw_subjects:nxw_subjects_topic'] | Art |
| waitForA4jRequest | 10000 | |
| select | //*[@id='document_edit:nxl_dublincore:nxw_subjects:nxw_subjects_subtopic'] | Architecture |
| watchA4jRequests | ||
| click | //input[@value="Add"] | Art |
| waitForA4jRequest | 10000 | |
| verifyTextPresent | Selection | |
| verifyTextPresent | Art/Architecture | |
| clickAndWait | //input[@value="Save"] | |
| clickAndWait | link=Default domain | |
| watchA4jRequests | ||
| click | //a[@id='virtualNavTreeTab:virtualNavTreeList:1:virtualNavTreeLink']/img | |
| waitForA4jRequest | 10000 | |
| waitForTextPresent | Categorization | |
| verifyTextPresent | Coverage | |
| verifyTextPresent | Subjects | |
| click | //div[@id='nxw_dc_coverage_1']/span/span[2] | |
| verifyTextPresent | Click on an item to select it | |
| watchA4jRequests | ||
| click | facetedSearchForm:nxl_faceted_search_default:nxw_categorization_search:nxw_dc_coverage_1_treeId:nxw__dc__coverage__1__recursiveTreeNodesAdaptorId:4::nxw_dc_coverage_1_treeNodeId:handle:img:expanded | |
| waitForA4jRequest | 10000 | |
| watchA4jRequests | ||
| click | link=Aland Islands | |
| waitForA4jRequest | 10000 | |
| verifyTextPresent | Europe/Aland Islands | |
| clickAndWait | //input[@value="Go »"] | |
| verifyTextPresent | Default Faceted Search | |
| verifyTextPresent | Klaatu | |
| verifyTextNotPresent | Barada | |
| verifyTextNotPresent | Nikto | |
| clickAndWait | link=Clear | |
| click | //div[@id='nxw_dc_subjects_1']/span/span[2] | |
| verifyTextPresent | Click on an item to select it | |
| watchA4jRequests | ||
| click | facetedSearchForm:nxl_faceted_search_default:nxw_categorization_search:nxw_dc_subjects_1_treeId:nxw__dc__subjects__1__recursiveTreeNodesAdaptorId:0::nxw_dc_subjects_1_treeNodeId:handle:img:expanded | |
| waitForA4jRequest | 10000 | |
| watchA4jRequests | ||
| click | link=Architecture | |
| waitForA4jRequest | 10000 | |
| verifyTextPresent | Art/Architecture | |
| clickAndWait | //input[@value="Go »"] | |
| verifyTextPresent | Default Faceted Search | |
| verifyTextPresent | Barada | |
| verifyTextNotPresent | Klaatu | |
| verifyTextNotPresent | Nikto | |
| clickAndWait | link=Clear | |