TC Display property values in query
From SeleniumSMW_AUT
This test case tests the use case MU Display property values in query and is dedicated to Queries.
Contents |
Story
setUp
- create a new page "TestPerson Jack Blue"
- edit this page and enter:
[[Favored drink::Gin Fizz]][[Favored shot::Vodka sour]]
- create a new page "TestPerson Carol Grey"
- edit this page and enter:
[[Favored drink::Gin Fizz]][[Favored shot::Tequila]]
- create a new page "TestPerson Gary Violet"
- edit this page and enter:
[[Favored drink::Gin Fizz]]
tests
- 01_checkdisplay
- go to Special:Ask
- enter [[Favored drink::Gin Fizz]] to the Query field
- enter ?Favored shot to the Additional data field and start the query
- verify that "TestPerson Jack Blue", "TestPerson Carol Grey" and "TestPerson Gary Violet" are present
- check LINK is present "Favored shot"
- check values are present
- 02_changelabel
- go to Special:Ask
- enter [[Favored drink::Gin Fizz]] to the Query field
- enter ?Favored shot = Last drink to the Additional data field and start the query
- verify that "TestPerson Jack Blue", "TestPerson Carol Grey" and "TestPerson Gary Violet" are present
- check LINK is present "Last drink"
- check values are present
tearDown
- delete "TestPerson Jack Blue"
- delete "TestPerson Carol Grey"
- delete "TestPerson Gary Violet"
- move to MainPage
Further information
This test case was exported to php files on 2011-07-06.
This test case has two prerequisites: TC SpecialAsk provides GUI for queries and TC Select pages by property value
Facts about TC Display property values in queryRDF feed