TC Built-in type Number
From SeleniumSMW_AUT
This test case tests the function MF Built-in type Number and is dedicated to types.
Contents |
Story
setUp
- create a new page "Property:AnyNewNumber"
- edit this page
[[Has type::Number]]
- create a new page "TestAnyNewNumber1" and enter the following:
[[AnyNewNumber::445000]] __SHOWFACTBOX__
- create a new page "TestAnyNewNumber2" and enter the following:
[[AnyNewNumber::445 000]] __SHOWFACTBOX__
- create a new page "TestAnyNewNumber3" and enter the following:
[[AnyNewNumber::445000 ANN]] __SHOWFACTBOX__
tests
- 01_factbox
- go to "TestAnyNewNumber3" and check that text "445,000 ANN" is present
- go to "TestAnyNewNumber2" and check that text "445,000" is present
- go to "TestAnyNewNumber1" and check that text "445,000" is present
- 02_semanticsearch
- go to Special:Ask
- enter to query text field
[[AnyNewNumber::445,000]]
- check result (links to all three pages must be present)
tearDown
- delete "Property:AnyNewNumber"
- delete "TestAnyNewNumber1"
- delete "TestAnyNewNumber2"
- delete "TestAnyNewNumber3"
- move to MainPage
Further information
This test case was exported to php files on 2011-07-04.
This test case has three prerequisites: TC Define type of property, TC Show factbox and TC Select pages by property value