Wednesday, August 13, 2008

My First Guest Lecture :)

It's been a while since my last post.


As I was busy preparing for my exams ('MS in Quality Management' from BITS, Pilani), I could not devote some time to my blog. The other reason being lack of any interesting topic in my testing life to blog on.


Finally, I got a reason to blog.


I delivered my First "GUEST LECTURE" to a batch of students undergoing a program titled


"Diploma in Software Testing"


The presentation is uploaded as a video.



If you want to use this video or its contents for commercial purposes, please send an email to ajay184f@gmail.com or you can provide a link to this post. Plagiarism is strictly prohibited and punishable under 'IT Act 2000'

Feel free to comment, agree, disagree, challenge, agree to disagree, question, appreciate, suggest on my testing approach and the post.




Update: I gave my guest lecture to the students of Edista's Finishing School.
It was a unique experience considering the fact that it was my first presentation on testing for students of testing.

There were quite a lot of drawbacks coupled with good things in my presentation which were well noted by Pradeep Soundararajan.

Every move I make in my software testing life, I learn a lot and I know that I need to unlearn a lot.

Improving day by day, practicing day by day, one day I'll become the 'Expert Tester' I dream of. :)

Leia Mais…

Wednesday, July 9, 2008

Interesting defect

This is about a defect I found in my application this morning.

The application was not tested for a month due to some requirements change. I was shifted to test some other products and finally I got my application back.
There were supposed to be lot of changes introduced as per client request.

My application has a login window as soon as it is launched.The login window has fields username & password and OK & Cancel buttons.Username: guest, password: guest

So, the first test is as follows:Enter guest in the username field and guadt in the password field.Click OK.Observed Behavior:A window with the message 'Incorrect username/password.' popped up.This window too had a OK button.
I clicked on OK and clicked again on OK button in the Login window.

As stated in www.satisfice.com/rst.pdf slides 108 and 109, I wanted to test 'Error Handling'.I kept on pressing 'Enter' key in the keyboard.

This happened for more than 20 times and I was reminded of M.Bolton's statement in one of the post : 'Do the right thing after you have tried the incorrect thing' (Not the same words)

So, I thought of entering the correct credentials as I had tried enough of incorrect credentials and the application is not allowing me to enter.

I entered 'guest' in both the username and password fields.

Bingo!!!

The same window : 'Incorrect username/password' popped up.

I deleted the password and entered the password 'guest' again carefully and slowly.
Again the same message.I found something interesting here.

I went to the developer and asked whether they had changed the password and they replied 'NO'.

I closed the instance and opened a new instance.Entered 'guest' in both the fields and the application opened without any problem.
So, I realized that entering incorrect credentials and then entering correct credentials might reproduce this defect.

I tried entering incorrect credentials 10 times and the correct credentials at the 11th time. Application worked.
15 times, it worked.
20 times, it did not work, message popped up.
19 times, it worked.
21 times, it did not work, message popped up.

So, finally I logged a defect that 'After 20 incorrect logins, login with correct credentials also fails.'

Test Ideas that helped me find this defect:
Error Handling technique.
M.Bolton's statement.
Ben Simo's 'Failure' mnemonic

Have you ever come across such a defect?
Have you come across defects more interesting and wierd than this?

Please share the test ideas too as it may help others.

Scripted Testers:Would this defect be found by the execution of test case?

Feel free to question, discuss and comment.
Regards,
Ajay
www.enjoytesting.blogspot.com
ajay184f@yahoo.com

Leia Mais…