Extension:ConfirmEdit/Test Plan
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. |
Simple Captcha
editTest Case ID | Test Case Name | Pre-requisite | Expected Results | Can Automate ? |
---|---|---|---|---|
Positive Scenario | ||||
1 | Verify captcha triggers when editing the page. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = true; |
1. Clicking on the 'Save Page' button on any page(existing/ new) should trigger the followings.
Number1 + Number2 = Text box 2. System should display simple addition or subtraction question until the user provides the correct answer. 3. Page should be moved to Read mode from Edit mode, after the user provides the correct answer. |
Yes |
2 | Verify the captcha triggers when creating the page. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to create a new page by clicking on the 'Create the page "<page name>" on this wiki!' link. 2. Clicking on the 'Save page' button should trigger the following.
Number1 + Number2 = Text box 3. Page should be moved to Read mode from Create mode, after the user provides the correct answer. |
Yes |
3 | Verify the captcha triggers when adding URLs. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to add an external link inside the MediaWiki editor.(Example : [http://www.google.com link title]) 2. Clicking on the 'Save Page' button should trigger the followings.
Number1 + Number2 = Text box 2. System should display simple addition or subtraction question until the user provides the correct answer. 3. Page should be moved to Read mode from Edit mode, after the user provides the correct answer. |
Yes |
4 | Verify the captcha triggers when creating the user account. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. Clicking on the 'Create an account.' link on the 'Log in' page should trigger the followings.
Number1 + Number2 = Text box 2. System should display simple addition or subtraction question until the user provides the correct answer. 3. 'Login successful' message should display when the user submits the correct answer with the valid inputs to the other fields. |
Yes |
5 | Verify the captcha triggers at the user login after failure. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. Clicking on the 'Log in / create account.' link should trigger the followings.
Number1 + Number2 = Text box 2. System should display simple addition or subtraction question until the user provides the correct answer. 3. User should be able to login successfully when the user submits the correct answer. |
Yes |
Negative Scenario | ||||
6 | Verify captcha is not triggered when editing the page with $wgCaptchaTriggers['edit'] = false |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. System should not provide simple sum when clicking on the 'Save page' button.
2. Page should be moved to Read mode from Edit mode after clicking on the Save page button. |
Yes |
7 | Verify the captcha is not triggered when creating the page with $wgCaptchaTriggers['create'] = false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to create a new page by clicking on the 'Create the page "<page name>" on this wiki!' link. 2. System should not provide simple sum when clicking on the 'Save page' button. 3. Page should be moved to Read mode from Create mode, after the user provides the correct answer. |
Yes |
8 | Verify the captcha is not triggered when adding URLs with $wgCaptchaTriggers['addurl'] = false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to add an external link inside the MediaWiki editor.(Example : [http://www.google.com link title]) 2. System should not provide simple sum when clicking on the 'Save page' button. 3. Page should be moved to Read mode from Edit mode, after the user provides the correct answer. |
Yes |
9 | Verify the captcha is not triggered when creating the user account with $wgCaptchaTriggers['createaccount'] = false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. 'Login successful' message should display by clicking on the 'Create an account.' link on the 'Log in' page. 2. User should not get simple sum. |
Yes |
10 | Verify the captcha is not triggered at the user login after failure with $wgCaptchaTriggers['badlogin'] = false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should not get simple sum at bad logins attempts. | Yes |
Questy Captcha
editTest Case ID | Test Case Name | Pre-requisite | Expected Results | Can Automate ? |
---|---|---|---|---|
Positive Scenario | ||||
1 | Verify questy captcha triggers when editing the page. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = true; |
1. Clicking on the 'Save Page' button on any page(existing/ new) should trigger the followings.
2. System should display the question until the user provides the correct answer. 3. Page should be moved to Read mode from Edit mode, after the user provides the correct answer. |
Yes |
2 | Verify the questy captcha triggers when creating the page. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to create a new page by clicking on the 'Create the page "<page name>" on this wiki!' link.
2. System should display the question until the user provides the correct answer. 3. Page should be moved to Read mode from Create mode, after the user provides the correct answer. |
Yes |
3 | Verify the questy captcha triggers when adding URLs. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to add an external link inside the MediaWiki editor.(Example : [http://www.google.com link title]) 2. Clicking on the 'Save Page' button should trigger the followings.
2. System should display the question until the user provides the correct answer. 3. Page should be moved to Read mode from Edit mode, after the user provides the correct answer. |
Yes |
4 | Verify the questy captcha triggers when creating the user account. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. Clicking on the 'Create an account.' link on the 'Log in' page should trigger the followings.
2. System should display the question until the user provides the correct answer. 3. 'Login successful' message should display when the user submits the correct answer with the valid inputs to the other fields. |
Yes |
5 | Verify the questy captcha triggers at the user login after failure. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. Clicking on the 'Log in / create account.' link should trigger the followings.
2. System should display the question until the user provides the correct answer. 3. User should be able to login successfully when the user submits the correct answer. |
Yes |
Negative Scenario | ||||
6 | Verify questy captcha is not triggered when editing the page with $wgCaptchaTriggers['edit'] = false |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. System should not provide simple sum when clicking on the 'Save page' button. 2. Page should be moved to Read mode from Edit mode after clicking on the 'Save page' button. |
Yes |
6 | Verify the questy captcha is not triggered when creating the page with $wgCaptchaTriggers['create'] = false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to create a new page by clicking on the 'Create the page "<page name>" on this wiki!' link. 2. System should not provide simple sum when clicking on the 'Save page' button. 3. Page should be moved to Read mode from Create mode, after the user provides the correct answer. |
Yes |
7 | Verify the questy captcha is not triggered when adding URLs with $wgCaptchaTriggers['addurl'] = false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should be able to add an external link inside the MediaWiki editor.(Example : [http://www.google.com link title]) 2. System should not provide simple sum when clicking on the 'Save page' button. 3. Page should be moved to Read mode from Edit mode, after the user provides the correct answer. |
Yes |
8 | Verify the questy captcha is not triggered when creating the user account with $wgCaptchaTriggers['createaccount'] =false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. 'Login successful' message should be displayed by clicking on the 'Create an account.' link on the 'Log in' page. 2. System should not provide simple sum when clicking on the button. |
Yes |
9 | Verify the questy captcha is not triggered when creating the user account with $wgCaptchaTriggers['createaccount'] =false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. 'Login successful' message should be displayed by clicking on the 'Create an account.' link on the 'Log in' page. 2. System should not provide simple sum when clicking on the button. |
Yes |
10 | Verify the questy captcha is not triggered at the user login after failure with $wgCaptchaTriggers['badlogin'] = false. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. User should not get simple sum at bad logins attempts. | Yes |
Simple/Questy Captcha common
editTest Case ID | Test Case Name | Pre-requisite | Expected Results | Can Automate ? |
---|---|---|---|---|
Positive Scenario | ||||
1 |
Verify simple captcha triggers only when clicking on the 'Save page' button. |
1. LocalSettings.php should include the following. 2. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
1. Clicking on the 'Show preview' button should not trigger a captcha. |
yes |
2 | Verify questy captcha triggers only when clicking on the 'Save page' button. |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should include the following. 3. ConfirmEdit.php should include the following. $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaTriggers['edit'] =true; |
1. Clicking on the 'Show preview' button should not trigger a captcha.
2. Clicking on the 'Save page' button should trigger a captcha |
Yes |
3 | Verify the simple captcha trigering when the multiple $wgCaptchaTriggers set to true. (eg. Edit, create and add url) |
1. LocalSettings.php should include the following. require_once( "extensions/ConfirmEdit/ConfirmEdit.php" ); 2. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = true; |
1. User should be able to create a new page by clicking on the 'Create the page "<page name>" on this wiki!' link. 2. Click on the 'Save page' button after adding an extenal link.(eg. [http://www.google.com link title]) 3. Clicking on the 'Save page' button should not trigger the followings related to the CREATE page and add URL.
4. Clicking on the 'Save Page' button should trigger the followings.
Number1 + Number2 = Text box |
Yes |
4 | Verify the questy captcha trigering when the multiple $wgCaptchaTriggers set to true. (eg. Edit, create and add url) |
1. LocalSettings.php should include the following. 2. ConfirmEdit.php should include the following. $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = true; |
1. User should be able to create a new page by clicking on the 'Create the page "<page name>" on this wiki!' link. 2. Click on the 'Save page' button after adding an extenal link.(eg. [http://www.google.com link title]) 3. Clicking on the 'Save page' button should not trigger the followings related to the CREATE page and add URL.
4. Clicking on the 'Save Page' button should trigger the followings.
Number1 + Number2 = Text box |
Yes |
Negative Scenario | ||||
5 | Verify the warning when the extensions/ConfirmEdit folder does not contains the required files. |
1. LocalSettings.php should include the following. 2. ConfirmEdit.php should include the following. |
1. Clicking on the 'Save page' button should not move to the read mode. | Yes |
6 | Verify the user is able to edit the page when the user hasn't include 'require_once( "extensions/ConfirmEdit/ConfirmEdit.php" ); ' statement in 'LocalSettings.php' |
1. LocalSettings.php should not contain the followings. 2. ConfirmEdit.php |
User should be able to save the page without solving the simple sum. | Yes |
7 | Verify the user is able to create a page when the user hasn't include 'require_once( "extensions/ConfirmEdit/ConfirmEdit.php" ); ' statement in 'LocalSettings.php' |
1. LocalSettings.php should not contain the followings. 2. ConfirmEdit.php $wgCaptchaTriggers['edit'] = false; |
User should be able to create a page without solving the simple sum. | Yes |
8 | Verify the user is able to add a URL when the user hasn't include 'require_once( "extensions/ConfirmEdit/ConfirmEdit.php" ); ' statement in 'LocalSettings.php' |
1. All the files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php 3. ConfirmEdit.php $wgCaptchaTriggers['edit'] = false; |
1. User should be able to add an external link inside the MediaWiki editor.(Example : [http://www.google.com link title]) 2. User should be able to add a URL with out solving a simple sum. |
Yes |
9 | Verify the user is able to create a user account when the user hasn't include 'require_once( "extensions/ConfirmEdit/ConfirmEdit.php" ); ' statement in 'LocalSettings.php' |
1. All the required files should be available under extensions/ConfirmEdit folder. 2. LocalSettings.php should not contain the following. require_once( "extensions/ConfirmEdit/ConfirmEdit.php" ); $wgCaptchaClass = 'SimpleCaptcha'; 3. ConfirmEdit.php $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit'] = false; |
User should be able to create a user account without solving the simple sum.e | Yes |
10 | Verify the user is able to login after failure, when the user hasn't include 'require_once( "extensions/ConfirmEdit/ConfirmEdit.php" ); ' statement in 'LocalSettings.php' |
1. All the required files should be available under extensions/ConfirmEdit folder. 2 LocalSettings.php
$wgCaptchaTriggers['edit'] = false; |
System should not display simple sum at the bad logins. | Yes |