Monday, 11 January 2016

Testers as Visionaries

“Look out!!! Look out!!” my uncle sitting next to me in my car shouted as he saw a big pothole in the middle of a road crowded with vehicles at my native. I was amazed. Not with the pothole but at the intensity with which he shouted as he is used to very nice roads abroad. I passed by that pothole carefully to see a sign “work in progress for broadband cable” which was jamming all the traffic on that road with people trying to avoid that. I wondered, why there was a work in progress now when the road was constructed and was really nice for a 40-50 km|h speed just 2 months back! After that my uncle shared the experience in the UK with me. There when the road gets constructed, a big pipe is laid in the base having small multicolored pipes inside it which has provision to insert cables later on if there is a need without digging the well-constructed road. I was still thinking on my WH question. Why this was happening?
Was this the lack of planning? Had the engineers / contractors not considered this while constructing road that there would be a big pothole coming up? Is it something which could have been avoided easily? This and hundreds of questions blinked in my mind within a fraction of second. And then it got linked to the software field as usual.
Let’s say that we build a really nice software, almost bug free (exaggeration), catering complete set of requirements by customers and stakeholders. Everything is hunky dory. Customer is all set to start User Acceptance Testing. And suddenly after a release, customer says we want change in the reporting format as it is not compatible with the third party tool we are using. We’ve to fix this, we don’t have any choice. But it requires breaking of a functionality currently built and tested thoroughly. Heavy risk of breaking the existing code. But we pick it up and start working on it asking customer to wait in commencing the User Acceptance Testing for the estimated time frame for this change.
Same set of questions arise there. What lacked? Planning, looking ahead, lack of vision? Forget about whose fault it is as it will be person specific feedback. Blame it on the activity instead and root cause. I’ll say it is the Vision and look ahead which lacked.
We all heard the story of a man who sat on a branch and started cutting the same branch without being aware that in some time branch and the culprit both will be on the ground. In his case, lack of awareness of immediate future caused his current action.
In today’s software testing world, we need more  visionaries and the people who work towards this study and make people in the organization aware that see, this technology is coming our latest release should have a provision for easy migration. Or see this is certain to happen, build it this way. This will increase the value of our bid in challenging market conditions. Testers can help this by asking right questions. In this case the domain knowledge would become vital for testers. This way they can add value to the current product / project they are working on.
As a result, whole organization will agree that Product we build is of highest quality not only because we test it well but our testers are visionary and predict the changes in advance.


Monday, 21 September 2015

Testing of Testing

Confused? Puzzled with the title mentioned? I think it is a very common term used these days. Might be used since long but I am coming across this term off late.

Testing is a specialized activity and must have experts as a pre-requisite to the successful and good quality software. I feel that organizations these days invest most of their time in confirming the testing carried out as testers are gatekeepers to quality. I.e. they do the “Testing” of the “testing” carried out. The so called “review” of the testing done. Is it really required?  

(Don't blame me if I am by choice using all analogies of food items here.) :)

When your mom or wife or sister asks you to taste something they have made for the first time. A sweet dish we take an example so get you drooling a bitJ.  Let’s say it is “gulab jamun”!! (An Indian dish containing the rolled fried khoya and sugar syrup). For someone like me who had tasted the dish before and know how it tastes, I’ll take a bite of Khoya roll and some syrup to go along to give my comments on how it tastes. But for someone who is tasting it for the first time, may end up eating either khoya roll or syrup. Why would he or she do so? Did the mom tell him or her to taste it that way? No.

Now let’s go ahead a bit, looking at the person tasting only syrup, mom tells to taste it with a bite of khoya roll too to give proper remark on the dish.

Did you notice something here? Actually the tasting which the person did was in a wrong manner. Now that the person knows how to taste gulab jamun, next time ideally mom should not be telling how to taste this dish. It means in short “review” of tasting is not needed.

A tester’s maturity increases with the time he / she spends with the application and also in the domain. He himself can suggest improvements in the software he / she is working on. Still in some organizations, most of the time is given to conduct the testing review by peers. I agree that in evaluation, the maturity of a tester may come under question depending on the results he / she produce. For him / her, it is important to extend this “review” period. But it should not be done in each and every case everywhere.

Many of us will believe that the testing we carried out, can get reviewed by quality audits. Really? I don’t think so. Quality audit is done against specific parameters agreed at the start of the project. E.g. In the dish above, there should be 10 pieces of Khoya balls, we should be finishing the preparation of dish in 1 hr max, quantity of the khoya, sugar and other ingredients to be used etc. Whereas the testing review may consist of how we taste the dish? With spoon, with hands, in 1 bite, by eating all 10 pieces of gulab jamun etc.

The question may remain the same. How long should be Test the Testing we are doing? It is relative and we may specify certain parameters. Giving an example below for your reference. Everyone may use it according to his / her organization’s policies and size of the product / application. Each row denotes the number of months at the start of testing the review should be carried out.
Functionality  of application -à
Experience of testers in years
Simple
Medium
Complex
Very complex
1 – 3
4mnths
5mnths
6mnths
7mnths
3 – 6
3mnths
4mnths
5mnths
6mnths
6 and above
1mnths
2mnths
3mnths
4mnths
Where,
Simple = small task for a day or 2’s work.
Medium= 40hrs – 80hrs OR which has integration of more than 3 and less than 6 modules.
Complex = 80hrs – 200hrs OR which has integration of more than 5 but less than 10 modules.
Very complex = 200hrs and above and which has integration of more than 10 modules.


After this period, a random check should be enough according to my understanding. After all, mom won’t be telling us each time how to taste a gulab jamun. J

Tuesday, 1 September 2015

Small things but matter the most....


Have you ever noticed the sweet mart? Those yummy, tasty, sweet mithaai’s? Do you feel we would have bought the sweets if they were not arranged in a manner they are arranged in there? You feel like eating them moment you see them, don’t you?

Imagine, the small things that have gone into display of those mouth watering sweets. Not to take away anything that go in to making them tastier and yummier. But a small presentation of the sweet item created, can make more customers buy it rather than the ones kept inside the boxes which are not visible at all.

The word is “Tempting”. What makes person tempt to eat something, tempt to play something, tempt to read something, tempt to write something, tempt to use something readily available, tempt to apply for positions, and last but not least, tempt to buy a software?

What makes a software just the edge above others similar ones available in market?
Refer to the title of the post!! We often hear people saying, this is not good quality software, can be more user friendly. What makes a software good or bad is not only dependent on the number of features / module it supports but little things taken care of while giving it.

E.g. take a look at google. One of the world’s simplest of User Interface. But one should really feel how much thought process has gone in to making it the way it is at this stage.

Clumsy software startup page may also lead to bad user experience. One should recognize that when our software is at display or user is having a look at the screen, he or she should get tempted to use the item on display.

For this, the UI is the key. We all know that it takes a lesser priority mostly when a product is being developed according to the requirements and if those clearly do not state anything about user experience.

It becomes an obligation on the entire team to keep up to the expectations from the customers which are unstated. And hence, we as testers can add value to the software by getting to the root of those hidden / unstated requirements by asking questions. It is observed that most of these are around User Interfaces. This will make our software salable and standout piece in the tough competition outside.

Let’s make the best display of our Software!! J

Thursday, 26 June 2014

Perception


When I started working in agile world at relatively the beginning of my career, I came across the buzzword 'Perception'. Also got exposed to some situations where Perception played a vital role in one's success. 

 A question came to my mind, whose perception is important? Mine or others? Is it the way I perceive others or situations or is it the way others perceive me? 

I feel the perception of others is built up the way others represent themselves in front of you. Similarly the way we behave, represent ourselves, others will perceive us. I feel while forming the perception, one need to consider all the aspects and check from all the angles. A simple example, we all must have seen the below given connection port to our laptops, desktops etc.
I had a colleague of mine in office who was a fresher. Whenever he is connecting the cable to the slot, it used to take him a while to do it during meetings. I saw him several times do this in meetings and was wondering why it takes me so much of time. I asked him what his problem was. 

 Whenever he was about to attach the projector cable to this connection, he use to see the position of pins at the end of the projector cable and then direct it according to the position of the cable slot given above. 

 I just smiled a little and told him. If you can match the shape of outer part ( ) of those pins with the shape of the slot, it would take less time. He acknowledged the fact that he didn't look at it that way and now he does it easily every time The way he was looking at the pins only and not thinking of anything else other than that was taking more time. 

Recently we've seen that people judge or opine on the basis of how they first see someone behave / present. This is not the only thing that is necessary to form the perception. You should consider multiple facets of the personality the person has. 

 Similarly when we are making an opinion about someone, somebody and forming a certain perception about him / her, we should not restrict ourselves to certain boundaries. A person who is not good in studies may be good at playing games. A person not good at presentation might be good at silently finishing the tasks with deadlines. It is up to us as to how we look at that person and utilize the capability possessed by him accordingly. This in turn would make him / her realize his / her potential. 

Needless to say, the person to whom you are suggesting something needs to perceive you as good human being. :)

Sunday, 17 July 2011

Cricket & Software Testing

Yes!! We shouted as Dhoni hit the ball out of the ground for a six to win a world cup for India after 27 yrs.
We were celebrating the joy all over the city with flags hoardings, banners, firecrackers and all. When I came back home and slept, I saw a dream. And I thought of drafting that dream into this post. Here it goes.

I saw a cricket field, a batsman, a bowler, an umpire, a third umpire window. And I saw them playing. (Hello!! what are you writing man? Isn’t that something they meant to do on a cricket field?) Ok! Let me make it more specific to the topic I thought. And this is something funny I thought for the first time. 

I started comparing cricket with the software industry. I thought that a batsman is‘software’. An umpire is a ‘Business Analyst’ and the third umpire as a ‘Customer’. I’ll say developer is a ‘batting coach’. Wait!! Where is the equally important (sorry for being diplomatic when I don’t say ‘most important’) part of the software industry? ‘Tester’!!! He/she becomes our bowler. Interesting isn’t it?

Now why did I imagine the roles this way?
We test the software with the number of test cases as bowlers test the batsmen with various types of deliveries. Bouncer, slower one, Yorker, good length etc. If the batting coach has taught these techniques to the batsman, he/she will definitely be able to play them effectively.

Whenever a bowler manages to beat the batsman’s bat hit on his pad, he appeals. Appeals to whom? Umpire. Who decides whether batsman is out or not? Similarly while testing the software with various test cases, if we come across any failure we are unsure of, we check with Business Analysts for its validity.
If he is unsure, he refers the decision to the third umpire (customer).

If a bowler oversteps, or bowls a wide ball, Umpires doesn’t count it as a legal delivery. Similarly a test case without a business case behind it is ruled out as not a valid test case.

Just for an example see when a batsman decides to bowl (developers decides to test). It will not be the same as genuine bowler.


Imagine a new bowler with unusual action troubling batsman, someone like Ajantha Mendis did for Indian batsman. Because, they were unsure about the testing that was going to be carried out on their application.

Now they play mendis very well as they are aware about the arrows in his armory. He needs to go and find out a way to dismiss our batsman now.



Moral of this post:
• Keep on searching for new test cases all the time to surprise the batsman (or application) as application gets used to the test cases as we execute them multiple times.
• If batting coach is aware about the deliveries / test cases that are going to be applied on his batsman/software, the application will be well prepared and we will see a good battle on the ground when actual testing is carried out.
• Success of software lies in effective execution of test cases by efficient testers.
• A game of cricket and software development is incomplete without a team.

Now I am sure I missed out on roles like fielders, wicketkeeper etc. Just reply back saying what can they mean and with which entity they can be easily related to in software industry. 

Tuesday, 28 September 2010

Is it really impossible to improve perfection?

Since a long time I was searching for the topic of my next blog post. But I wasn’t getting any. And then I saw a video….Amir Khan (the lead actor in Hindi film industry to whom we call a perfectionist) is learning Marathi (a regional language in India of Maharashtra state.) And what more, he delivered a speech in Marathi in one function!

Well!! Way to go Amir. Really! And that made me put that video on my facebook account with a status as “who says perfection can not be improved?”



And since then I was thinking to blog this but couldn’t get time to. Really do you think we can’t improve perfection? “Let’s go through the dictionary meaning of ‘perfection’ first. Perhaps it will make our life easier. J



It means [excellence, faultlessness, rightness, exactness, precision, flawlessness, aptness etc]



What can be an example of perfection? 100/100 marks in exam? Construction work completed on deadline? Estimated and actual efforts are exact? A calculator which gives result 10/5 = 2?



In all the examples given above, is there something which can be improved? Do you really think so? I think yes. There is a flaw in each of the stuff mentioned above.



100 out of 100 marks achieved. What if those marks are achieved by cheating? Is it still perfect?



Construction work completed on deadline? What if client for which work is completed says you should have used this brand of cement instead of the low cost one which is used?



Estimated and actual efforts are exact? What if an activity which is desired to be completed in estimated efforts wasn’t considered at all while carrying out actual work?



And lastly can we call a calculator perfect which gives correct result but takes 15 mins to produce it?



(And really do I need to repeat for us testers, there isn’t anything which can be perfectJ)



Do you feel something common in all the examples given above? What I think and feel as achieving perfection is important but what’s equally important is the way with which you achieve it. Yes, the process, the quality. We can always think of ways and means to improve the processes or the operations we are performing to achieve the desired goal. It can be method of writing test scenarios, finding smart ways to make test execution efficient by clubbing similar scenarios together, providing more meaningful and relevant reports to help management understand status better etc.

My take is there is always scope for improvement. Even for the perfect onesJ. What’s your take?

Since a long time I was searching for the topic of my next blog post. But I wasn’t getting any. And then I saw a video….Amir Khan (the lead actor in Hindi film industry to whom we call a perfectionist) is learning Marathi (a regional language in India of Maharashtra state.) And what more, he delivered a speech in Marathi in one function!

Well!! Way to go Amir. Really! And that made me put that video on my facebook account with a status as “who says perfection can not be improved?”



And since then I was thinking to blog this but couldn’t get time to. Really do you think we can’t improve perfection? “Let’s go through the dictionary meaning of ‘perfection’ first. Perhaps it will make our life easier. J



It means [excellence, faultlessness, rightness, exactness, precision, flawlessness, aptness etc]



What can be an example of perfection? 100/100 marks in exam? Construction work completed on deadline? Estimated and actual efforts are exact? A calculator which gives result 10/5 = 2?



In all the examples given above, is there something which can be improved? Do you really think so? I think yes. There is a flaw in each of the stuff mentioned above.



100 out of 100 marks achieved. What if those marks are achieved by cheating? Is it still perfect?



Construction work completed on deadline? What if client for which work is completed says you should have used this brand of cement instead of the low cost one which is used?



Estimated and actual efforts are exact? What if an activity which is desired to be completed in estimated efforts wasn’t considered at all while carrying out actual work?



And lastly can we call a calculator perfect which gives correct result but takes 15 mins to produce it?



(And really do I need to repeat for us testers, there isn’t anything which can be perfectJ)



Do you feel something common in all the examples given above? What I think and feel as achieving perfection is important but what’s equally important is the way with which you achieve it. Yes, the process, the quality. We can always think of ways and means to improve the processes or the operations we are performing to achieve the desired goal. It can be method of writing test scenarios, finding smart ways to make test execution efficient by clubbing similar scenarios together, providing more meaningful and relevant reports to help management understand status better etc.

My take is there is always scope for improvement. Even for the perfect onesJ. What’s your take?

Importance of How to say something than what to say…!

All of you might have heard that story about a boy asking a father in church. “Can I smoke while I am praying?” The father says “No!!” in anguish. Then one of his friends goes and asks a different question with same intention. “Can I pray while I am smoking?”
And father replies “By all means son. You can!” [Disclaimer: No communal offence meant here]



I wonder how many times we try and ask questions in correct manner to get answers which we want from anyone. (Don’t be mistaken, I am not getting distracted from software testing but questioning is one of the qualities we desire to have within us right?)



The idea to post this one came to my mind last week when me and a couple of my colleagues presented a topic about software testing and soft skills and one of them was explaining why negotiation skills are important in our a life of software tester with a very nice picture of two men arguing on the number whether it is 6 or 9.



From the experiences we had while attending a testing conference and having seen some ppts of knowledge sharing, we took a call to include a slide with a disclaimer. Again this was something which was aimed at limiting the number of questions at end of our presentation as it was topic which was really subjective.



Not to boast on the way we presented and all but learnt a lot from this experience and same way like the story at the start of this post the importance of saying the same things but in different manner are very important. What do you guys feel?