Friday, September 11, 2015

Three interesting bugs

When I started testing this feature, it looked quite simple. On a page, the user would be provided an option to view the default number of entries. This was helpful compared to the current UI where the default was set to X. Also, this feature was supposed to be a widget level change which meant that it can be applied across pages with minimal or no change. Also, one could jump to a particular page using a button.

The typical test ideas that came to my mind were:
- Change the defaults
- Compare with production
- Try every value
- Try combination of the Jump button and the drop down to change the default value.

But as I started testing, I discovered few interesting issues which I would like to highlight here:

Issue 1: Incorrect text displayed when the product of default value (drop down) and Jump to page value equaled 1000. The text read 'Displaying 1-1000' instead of 990-1000

First of all, I wanted the test data setup part to be automated. I wanted to have more than 1000 entries for my testing. Thanks to my colleague Vinod G Srinivas, who gave me a quick script to create X number of entries. This particular bug was present only for the value 1000 and worked fine for any value below 1000 and up to 2000.
For example:

This was an example of a bug at the boundary. Strange things happen at the boundary. To our surprise, this bug is existing in production. With 10 as the default, someone would had to navigate till the 100th page to see this bug. No one reported till now.

Issue 2: Action on records messes up the page count
For example, I have set 25 as the default in the drop down. I populate 26 records. I can now navigate to page 2. If I delete the record on page 2, I am left with 25 records and should be redirected to page 1. But guess, what happened? I was left at page 2 without any records and the text which read: Displaying 26-26 records.

Issue 3: Switch between default values displays incorrect records
Suppose I had 11 records and default was set to 10. I saw the results in two pages. Without navigating to second page, I expect to see all 11 records when I switch the default to 25. Everything worked fine till now. When I switched back to 10 from 25, I still saw 11 records. The switch back to 10 as default was not respected.

Think about these three issues. These don't look straight forward. You play with the software and slowly you get the ideas. And these bugs were interesting according to me. I had never predicted that I would have seen these issues when I first got the feature. And that is what makes me test - The uncertainty, the joy of exploration and investigation. Till next time, do share your interesting bugs. 

Leia Mais…

Monday, August 17, 2015

Trip to Grand Rapids - CAST 2015

Warning: This is going to be a long blog post.

It was January 9, 2015. 7.20 am IST. As usual, I checked my emails first. There was this email from Matt Heusser asking me if I would be interested to do a keynote at CAST 2015. Pete, the Conference Chair was copied on the email too. It took me less than a minute to reply and I gave them a green signal. In two weeks, the abstract was finalized. And time flew. Soon, it was July and I had not formally prepared anything for this conference. Thanks to Suresh from Sanky Travels, Bangalore who took care of the flight and currency for this trip.

Last week of July
I read the abstract multiple times to understand what I promised to speak on. I then thought about the different ways to deliver the keynote. Should I go the Prezi way or the XMind Pro way? Should I have word clouds or just images? Should I hire someone experienced to help me create the presentation? These were some of the questions which were dominating my thought process.

When I started my testing career
I failed many times. I could not deliver what was expected of me. Many friends, colleagues helped me cross the stage. Some of the best lessons I learned was from the developer friends who pointed to me on how I could improve my testing. I tried thanking most of them through this mind map.

I started thinking
about everyone who helped me in this journey.
My school teachers who gave me the confidence that I can dream big.
My parents who supported me at every stage of my life. My grand parents and relatives who continue to bless me with their wishes. Immediately, I realized that I could start my keynote by thanking everyone who helped me. There were many people whom I had to thank but could not fit on the slide. It does not mean that you don't matter. It just means that I trust you that you will not mind.

Reached Chicago on 31st July
Dhanasekar S joined me and we both reached the Amway Grand Plaza at 11pm. We got the Luxury suite and it was too good. The next day I wanted to attend the Test Retreat conducted by Matt Heusser. We did have pizza for dinner and were surprised by the 14" sized pizza. We could finish only half of it. (Next time, do pay attention to the size before placing the order).

Test Retreat - 01st Aug
The venue was at a walking distance from the hotel. Thanks to Google Maps, I found the venue and Matt was right there at the entrance. We had an issue. The lift was locked. In few minutes, we had that sorted and we got started. Each one proposed a topic to speak on. There were three rooms - one for each group and we split based on the topics we chose.
The discussion was good and most of them have been captured here with links to Michael Larsen's blog.

02nd Aug - Rest day
I slept for most part of the day and also prepared for my keynote while most of the Test Retreat crew went on a boat trip.

03rd Aug - Tutorial by Fiona Charles
Location doesn't matter to me and I tend to sleep well irrespective of the location/time-zone/weather/sound/light. I got up early around 6 am and got ready for Fiona's tutorial - Speaking Truth to Power. Dhanasekar was also ready for presenting his tutorial - Mobile App Coverage Using Mind Maps. I had never been in any session by Fiona and was really excited to attend this tutorial. When I arrived, there was no one in the room. Soon, Fiona arrived and set up the laptop and Erik helped us set up the flipcharts and projector. I don't like PowerPoint approach a lot and when Fiona started with PowerPoint, I was slightly disappointed. What followed changed my whole mindset and I really liked the approach. She split us in teams of 3-4 and gave us an exercise. This exercise gave me a new insight about the different contexts tester can experience.

I met Barbara Streiffert there who works with JPL (Jet Propulsion Laboratory). Her thought process was so clear and structured that I was happy to be part of this team. I also met Ben Simo in the tutorial. It was a dream come true after fours years.

I also had an opportunity to interact with Carol Brands, Kate Falanga, Diana Wendruff, Mark Parratt and many more testers whose names I am not able to recollect.
The different teams, their experiences and the role play exercise helped me come up with a few lessons for myself. The simple act of asking everyone to drop their posts with lessons learned and asking people to read out lessons from others was an interesting experience.
One long post to absorb would be the one on SATIR Interaction Model by Dale Emery - Untangling Communication

04th Aug - CAST Day 1

Tutorial by Karen JohnsonIt was cold outside and in the room where the keynote happened. If it was not for Karen's inspiring keynote, I would have left the room within five minutes. She has close to thirty years, yes, thirty years of experience in software development. Check out the diversity in her experience - presentations and publications. After her keynote, I attended the talk by Carol Brands - Learning to Lead: Making an Impact By Improving Yourself. This was her first talk and was mentored by Speak Easy team. I was impressed on how she tied every slide to the main theme.

After lunch, I attended the tutorial by Fiona Charles - What's My Context?
We had to come up with factors that affect the 'context'. Our team came up with the following:

After the tutorial which went till 3pm, I went back to the room and prepared for the keynote next day. I had a good night' sleep and left room early for the 9am keynote. 

05th Aug - CAST Day 2

I was quite nervous as I had never given a keynote. It went well. There were many tweets (more than expected) about the keynote. Few testers came up to me and told that they were inspired by the keynote. :) It was a happy moment.
After the keynote, I attended the talk by Erica Walker and here is my mind map from the talk.
And the next talk in the same room by Jeremy Traylor. Immediately after the talk, I had to give a talk on 'The Power of Exploratory Tester'. Mob mind map from the session is here:

And we played games - SET, SQUISH and few other games I could not participate. There was Pizza and Lightening talks :) And we officially wrapped up CAST 2015.

I went back to my room, slept well and left for India the next morning.
The twitter feed was still about CAST and we made new friends, met old friends and learned a lot.
Till next time, take care...

The Future is Here

Leia Mais…