Test case for Text box in a website,

Showing Answers 1 - 5 of 5 Answers

umesh7a

  • Oct 16th, 2006
 

 Hi All, these should be the test cases for the test box in the website.

1. cursor should be in that text box.

2.Test box should be except only desired value ie numeric alphanumeric etc. what ever written in the specication.

3.we can check the range if specified, means suppose it is specified the user name should be between n-m. Then this text box except the values only between n-m

4.after pressing the tab cursor should be moved into the next operatin which we have to perform.

  Was this answer useful?  Yes

Dileep Kumar.G

  • Oct 29th, 2006
 

Hi rashmi,

U didn't mention for which test box. Anyway, we'll take an example of Username text box.

Just try this u'll get a great idea. Open rediff mail--> click on signup--> fill the form in that

U can test the application with give different types of data. for this we can write test cases.

1. First of all Text box should be enabled (cursor should be in user name text box)

2. Enter all numbers-verify

3. Enter all capital letters including numbers-verify

4. enter special characters like !@#$%^&*() -verify

5. Enter spaces between the letters-verify

6. enter name including dot(.) and under scores(_) -verify

7. Enter all capital and small letters including numbers-verify

In this way u can test the text box in rediffmail. try it once. test it once.

u can test the site in many ways.

cheers

dileepkumar.g@gmail.com

mithr17

  • Oct 17th, 2011
 

Lets take an example of search text box.
Suppose the requirements are that the said text box should accept a maximum of 50 characters, and a drop-down list with possible words should be display upon enter the first character. The search box must not accept special characters.

Possible positive test cases: (testing per requirements)
- Check for 50 characters limit
- Enter first letter and check for word list drop-down
- Word list drop-down for numbers
- Search box must accept alpha numeric keywords
- Click text-box and check if cursor appears
- Check search box behavior with 49 characters

Negative test cases: (checking for unintended behavior)
- Check search box behavior for 51 characters
- Search box must not accept special characters
- Search box must not accept 50 + characters

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions