Test Case ID |
Test Case Name |
Pre-requisite |
Expected Results |
Can Automate ?
|
Successful |
|
|
|
|
1
|
Verify simple footnote.
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
* This is the first reference. <ref>Reference 1 </ref>
* This is the second reference. <ref>Reference 2 </ref>
==Notes==
<references/>
2. Output should be displayed as below.
- This is the first reference [1]
- This is the second reference [2]
Notes
- ↑ Reference 1
- ↑ Reference 2
|
Yes
|
2
|
Verify same footnote with a unique character identifier.
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
* This is the fist reference with one footnote. <ref name="multiple"> First reference used</ref>
* This is the second reference with one footnote. <ref name="multiple"> Second reference used</ref>
* This is the second reference with one footnote. <ref name="multiple" />
==Notes==
<references/>
2. Output should be displayed as below.
- This is the fist reference with one footnote [1]
- This is the second reference with one footnote [1]
- This is the second reference with one footnote [1]
==Notes==
- ↑ 1.0 1.1 1.2 First reference used Cite error: Invalid
<ref> tag; name "multiple" defined multiple times with different content
3. Verify 'Second reference used' text is not available under 'Notes'.
|
Yes
|
3
|
Verify grouped references.
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
* This is the text to test the simple reference. <ref > Displayed under References.</ref>
* This is the first text to test the grouped references. <ref group="footnotes"> First text displayed under Notes </ref>.
* This is the first text to test the grouped references. <ref group="footnotes"> Second text displayed under Notes </ref>.
==Notes==
<references group="footnotes"/>
==References==
<references/>
2. Output should be displayed as below.
- This is the text to test the simple reference.[1]
- This is the first text to test the grouped references.[footnotes 1].
- This is the first text to test the grouped references.[footnotes 2].
==Notes==
- ↑ First text displayed under Notes
- ↑ Second text displayed under Notes
==References==
- ↑ Displayed under References.
|
Yes
|
4
|
Verify separating references from the text.
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
* This is the first reference. <ref name="first"/>
* This is the second reference. <ref name="second"/>
==Notes==
<references>
<ref name="first">First reference</ref>
<ref name="second">Second reference</ref>
</references>
2. Output should be displayed as below.
- This is the first reference. [1]
- This is the second reference. [2]
==Notes==
- ↑ First reference
- ↑ Second reference
|
Unsuccessful |
|
|
|
|
5
|
Verify same footnote with a unique numerical identifier.
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
* This is the fist reference with one footnote <ref name="123"> First reference used</ref>
* This is the second reference with one footnote <ref name="123"> Second reference used</ref>
* This is the second reference with one footnote <ref name="123" />
==Notes==
2. Output should be displayed as below.
- This is the fist reference with one footnote Cite error: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title
- This is the second reference with one footnote Cite error: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title
- This is the second reference with one footnote Cite error: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title
== Notes ==
|
Yes
|
6
|
Verify the output when the 'LocalSettings.php' does not includes the 'require_once("extensions/Cite/Cite.php");'
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should not include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
This is the first reference. <ref> Reference 1 </ref>
This is the second reference. <ref> Reference 2 </ref>
==Notes==
2. Output should be displayed as below.
This is the first reference <ref> Reference 1 </ref> This is the second reference<ref> Reference 2 </ref>
Notes
<references/>
|
Yes
|
7
|
Verify the warning message displayed when the extensions/Cite folder does not contains the required files.
|
1. extensions/Cite folder should not have any file.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
Clicking on the 'Save page' button should not move to Read mode.
|
Yes
|
8
|
Verify the warning messages displayed when no <references/> tag available.
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
This is the first reference <ref>Reference 1 </ref>
This is the second reference<ref>Reference 2 </ref>
2. Output should be displayed as below.
This is the first reference [1] This is the second reference[2]
Cite error: <ref> tags exist, but no <references/> tag was found
|
Yes
|
9
|
Verify warning messages displayed when no <references group="footnotes"/> tag available for grouped references.
|
1. All the required files should be available under extensions/Cite folder.
2. LocalSettings.php should include the following.
require_once("extensions/Cite/Cite.php");
|
1. Following command should be saved in the Mediawiki editor.
This is the text to test the simple referece. <ref > Displayed under References.</ref>
This is the first text to test the grouped references.<ref group="footnotes">First text displayed under Notes </ref>.
This is the first text to test the grouped references.<ref group="footnotes"> Second text displayed under Notes </ref>.
2. Output should be displayed as below.
This is the text to test the simple referece.[1] This is the first text to test the grouped references.[footnotes 1]. This is the first text to test the grouped references.[footnotes 2].
Cite error: <ref> tags exist, but no <references/> tag was found
Cite error: <ref> tags exist for a group named "footnotes", but no corresponding <references group="footnotes"/> tag was found
|
Yes
|