The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Miscellaneous Forums >> Software Testing Interview Questions

Pages: 1
Suhail_Ahmed
Newbie


Reged: 08/14/07
Posts: 1
Test Case for Registration Form
      #407551 - 08/16/07 11:20 AM


Hi Friends,

I have been asked to write a Test Case for the following Registration Form.

Name : 1-30 char
Date : DD-MM-YYYY

Here Leap Year and Months of 30 or 31 days should also be considered.

Address : Multi Line Address
Qualification : [ choose from a List ] M.B.A,M.C.A,B.Sc, etc

Please Help!

Thanks,
Suhail Ahmed
Email ; Please put your email address in your profile and not in posts. Thank you!

Edited by JakeBrake (08/16/07 11:27 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: Test Case for Registration Form [Re: Suhail_Ahmed]
      #407563 - 08/16/07 11:43 AM

Suhail Ahmed ,

Ok, let's start with the Name field.

What would you imagine would be good tests for that?

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Tarun Lalwani
Veteran


Reged: 07/21/05
Posts: 15329
Loc: Milwaukee, Wisconsin
Re: Test Case for Registration Form [Re: Joe Strazzere]
      #407616 - 08/16/07 02:49 PM

Joe, On a serious note How about
- <Blank>
- Lenght 1
- Length 15
- Length 30
- Length 31
- Length (Random between 1 and 30).

--------------------
Regards,
Tarun
** First ever technical novel - And I thought I knew QTP! **
** Download QTP Unplugged 2nd Edition eBook for FREE **

KnowledgeInbox RSS


Post Extras: Print Post   Remind Me!   Notify Moderator  
ElLobo
Junior Member


Reged: 08/20/02
Posts: 405
Re: Test Case for Registration Form [Re: Tarun Lalwani]
      #407632 - 08/16/07 04:51 PM

Tarun Lalwani, I'm not sure why do you need to check so many combinations? If you can write all 30 characters you definitely can write less.

P.S. Somehow I think that we are talking about paper registration form


Post Extras: Print Post   Remind Me!   Notify Moderator  
supratim
Junior Member


Reged: 06/28/06
Posts: 204
Loc: India
Re: Test Case for Registration Form [Re: ElLobo]
      #407667 - 08/16/07 10:12 PM

I think I would test with the following data:
1. <Blank>
2. Length 1
3. Length 30
4. Length 31
5. Test with Integers (+ve & -ve)
6. Test with special characters like <>. @, #, ^,etc etc...
7. If the input of this field would be rendered as html and displayed in some other page then would go for XSS injection.
8. Definitly try SQL Injection.

If I am leaving out on any please do notify...

--------------------
Regards,
Supratim.

"Look at all the sentences which seem true and question them."
http://supratimmodak.blogspot.com/


Post Extras: Print Post   Remind Me!   Notify Moderator  
Fouzia
Junior Member


Reged: 07/12/06
Posts: 17
Loc: Islamabad
Re: Test Case for Registration Form [Re: supratim]
      #407759 - 08/17/07 03:18 AM

Suhail Ahmed ,
TRY TO SAVE
<SPACE> CHAR...
1.Verify that it automatically trim starting char.
2.With max limit of 30 char, see all the pages where name is used, some time this change the page layout.

Regards
Fouzia

--------------------
Be Happy


Post Extras: Print Post   Remind Me!   Notify Moderator  
Monu_QA
Newbie


Reged: 06/26/07
Posts: 7
Loc: delhi, India
Re: Test Case for Registration Form [Re: Fouzia]
      #407777 - 08/17/07 04:25 AM

for the date column
check for 01/01/2007
check for 15/01/2007
check for 31/01/2007
check for 01/06/2007

like this [ i m using Boundary value analysis technique]
and also check for leap year validation like verify proper error message is displayed when we enter 29/02/2007

Edited by Monu_QA (08/17/07 04:26 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: Test Case for Registration Form [Re: Monu_QA]
      #407804 - 08/17/07 05:23 AM

If you were asked to write test cases for a "Registration Form", and one of the fields was described as:

Date : DD-MM-YYYY

what questions would you ask the owner of the requirements?

Before I started specifying test cases, some of the things I'd want to know are:
- what does this "Date" represent?
- is it supposed to be today's date?
- is it supposed to be a birth date?
- are dates in the past permitted?
- what would be a valid range of dates?
- is this a required field?
- where does the value from this field go once the transaction is "committed"?
etc, etc

Can you think of any more questions you would ask to clarify the requirements for this field?

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: Test Case for Registration Form [Re: ElLobo]
      #407805 - 08/17/07 05:24 AM

Quote:

P.S. Somehow I think that we are talking about paper registration form




Good point!
The post doesn't actually indicate that this is a software problem.

(It's always good to seek clarification of requirements)

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Monu_QA
Newbie


Reged: 06/26/07
Posts: 7
Loc: delhi, India
Re: Test Case for Registration Form [Re: Joe Strazzere]
      #407834 - 08/17/07 06:17 AM

Thanks joe for your suggestion definitely before writing the test case we must ask this question
and joe is this a right question to ask
- Are we using any date control button for entering the date

Edited by Monu_QA (08/17/07 06:19 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
swt88
Active Member


Reged: 05/13/03
Posts: 1193
Loc: Massachusetts
Re: Test Case for Registration Form [Re: Joe Strazzere]
      #407885 - 08/17/07 08:01 AM

Quote:

If you were asked to write test cases for a "Registration Form", and one of the fields was described as:
.
Date : DD-MM-YYYY
.
what questions would you ask the owner of the requirements?
.
Before I started specifying test cases, some of the things I'd want to know are:
- what does this "Date" represent?
- is it supposed to be today's date?
- is it supposed to be a birth date?
- are dates in the past permitted?
- what would be a valid range of dates?
- is this a required field?
- where does the value from this field go once the transaction is "committed"?
etc, etc

Can you think of any more questions you would ask to clarify the requirements for this field?



I'd want to know if the dashes are required or not. If I don't enter them do I receive an error message or will they automatically be put in for me?

Same goes for year -- I believe we are far enough away from Y2K to think people are back to entering two digit years. Is four required (again message - or auto populate to a four digit year)?

--------------------
Mary


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: Test Case for Registration Form [Re: Monu_QA]
      #407946 - 08/17/07 09:34 AM

Quote:

- Are we using any date control button for entering the date




Good!
That seems like a reasonable question to help guide the selection of some of the test cases.

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: Test Case for Registration Form [Re: swt88]
      #407947 - 08/17/07 09:36 AM

Quote:

I'd want to know if the dashes are required or not. If I don't enter them do I receive an error message or will they automatically be put in for me?

Same goes for year -- I believe we are far enough away from Y2K to think people are back to entering two digit years. Is four required (again message - or auto populate to a four digit year)?




Good ones!
If the interviewee asked these very reasonable questions, I'd be pleased.

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 4 anonymous users are browsing this forum.

Moderator:  martinh, Joe Strazzere 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 7888

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5