How do you use boundary value analysis testing for evaluating the password ?

Showing Answers 1 - 21 of 21 Answers

Boundary Value Analysis for testing password.

As per rule boundary value Analysis must have SIx Conditions MIN-1, MIN, MIN+1
MAX-1, MAX, MAX+1

As per ref available for me from

http://softwaretestingguide.blogspot.com/

for user id when can apply same for password it works like this
lets have condition password min 4 char max 10 char in length.password can be any thing since password depends on userid.

MIN-1
User ID : master
password : abc
result :Should not accept should popup msg "enter Correct Password".

MIN
User ID : Master
password : abcd
result : Should accept

MIN+1
User ID : Master
password : abcd
result : Should accept

MAX-1
User ID : Master
password : 123456789
result : Should accept

MAX
User ID : Master
password : abcd123456
result : Should accept

MAX+1
User ID : Master
password : abcd1234567
result : Should not accept should popup msg "enter Correct Password".

Firstly we have to identify that what is the BVA range of the password from the SRS Document/from the client requirements and capture the min and max ranges

So according that we have to test by following min-1,min,min+1,max-1,max,max+1
By following this we have to test for Boundary value analysis to evaluate that password

We should get the testing results as
min-1 (fail)
min (pass)
min+1(pass)
max-1(pass)
max(pass)
max+1(fail)

  Was this answer useful?  Yes

The answer to this question depends on how the company wants to treat the password.  The first thing any good tester will do is refer to the requirements and specifications.

Let's assume the requirement states:
1) the password must be from 6 to 12 characters in length
2) the text box accepts no more than 12 characters
3) only alphanumeric characters are accepted

Positive test cases
Assumes all entries include valid combination of letters and numbers

1) Enter 6 alphanumeric chars (min)
2) Enter 7 alphanumeric chars (min+1)
3) Enter 11 alphanumeric chars (max-1)
4) Enter 12 alphanumeric chars (max)

Negative test cases
Assumes all entries include an otherwise valid combination of letters and numbers

1) Enter 5 alphanumeric chars (min-1)
2) Enter 13 alphnumeric chars (max+1)

This is the boundary value analysis.  The equivalence class partitioning would be much more involved.

michaly

  • Sep 20th, 2011
 


For Password.
>=8 <=32 characters, must include: letters, symbole and number.
you can create a test case with a list 8 tc.

If i am wrong please let me know.

thanks,
michelle

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