TC Select pages by category
From SeleniumSMW_AUT
This test case tests the use case MU Select pages by category and is dedicated to Queries.
Contents |
Story
setUp
- create a new page "TestPerson Frank Green"
- edit this page and enter:
[[Category:Person with color surname]]
- create a new page "TestPerson Linda Black"
- edit this page and enter:
[[Category:Person with color surname]]
- create a new page "TestPerson Carlos Swan"
- edit this page and enter:
[[Category:Person with animal surname]]
tests
- check semantic search:
- go to Special:Ask
- enter [[Category:Person with color surname]] to the Query field and start the query
- check that there are two results
- check if "TestPerson Frank Green" and "TestPerson Linda Black" are present
- verify that "TestPerson Carlos Swan" is not present
tearDown
- delete "TestPerson Frank Green"
- delete "TestPerson Linda Black"
- delete "TestPerson Carlos Swan"
- move to MainPage
Further information
This test case was exported to php files on 2011-07-05.
This test case has one prerequisite: TC SpecialAsk provides GUI for queries
Addicted test cases
The following test cases have this test case as prerequisite:
| Prerequisite TC | |
|---|---|
| TC Combine requirements to select pages | TC SpecialAsk provides GUI for queries TC Select pages by property value TC Select pages by category |
| TC Embed inline query | TC Annotate page with property TC Select pages by property value TC Select pages by category |
| TC Store query as concept | TC Annotate page with property TC Select pages by property value TC Select pages by category |
| TC Use concept in query | TC Select pages by property value TC Select pages by category TC Store query as concept |