Wednesday, January 28, 2015

Roles of a Team Lead


As a team lead you may need to fulfill many different roles in a team. In this post, I’ll highlight few of the roles which will be useful from Mintzberg's Management Roles theory. Let’s see how we can use these to improve team performance.


Figurehead Role 

This is a ceremonial role which involved humans. As a team lead in Software firm you are required to get involved with two parties who are knowledge workers. Those parties they are, the customer and the team. In the modern world, I believe people interaction is a key and you shouldn't play this role as a rule or part of your routine job. It has to be more informal approach. Hence you need to please both parties to have successful deliveries.


Monday, October 29, 2012

Interviews and Fresh Graduates


After conducting several interviews  with fresh graduates it was evident that most didn’t do well due to small mistakes.  Since they are graduates, they are obviously knowledgeable candidates but lacking in experience. Whenever possible I have suggested areas of improvement which can benefit them in the future. 

So I thought of jotting down my “5 cents worth“ for fresh graduates who want to start their career as an engineer in Product Quality.

1. Bust the myths 
  • Testing is a very easy job.
  • Testing is a job you should select if you don’t get a proper job
  • You don’t need to get ready for interviews
  • Recognition is very low as a Quality/Test engineer than a Developer

Consider the points above, they are myths! I won’t go into detail but will give a brief outline on overcoming them.

Testing is only a task. There are many tasks that we need to perform to assure product quality. What is product quality? It’s the customer expectation of a product. For e.g. when you want to buy a phone, you look at a particular brand. This is because branded phones are considered to be of good quality. So as Product Quality Engineers (Test Engineers), this is our role. Do you think this is an easy job?

Monday, June 25, 2012

Things to know when testing Mobile applications

When testing using the traditional method on windows/web applications, we all know that we need to test functionality. The same concepts apply for Mobile applications for smart phones as well. As testing experts we should ensure the functionally of the application. While we perform functional testing we need to consider the following points as well.

Testing matrix

In the mobile market there are more than 835 million smart phones available and it is ever increasing. The testing matrix is complex and it is important to select the correct testing matrix as the test environment. Therefore the points below should be helpful:

  •  OS and Browser 
  •  Device model 
  •  Wireless connectivity 
  •  Location 
  •  Network bandwidths 
  •  Audience 

Tuesday, October 11, 2011

Cost of Quality

This time I thought of discussing about a concept about Cost of Quality in a product.
What is cost of Quality? The simple answer is to the cost involved in maintain or add quality to a product/service that you are providing to a customer. So how it’s important to an organization? Cost is directly involved with the profit. When cost goes down, profit will go up where revenue is constant.
Now let’s talk this topic in detail.
When discussing the Cost of Quality, there are 3 costing types involved.
  1. Prevention cost
  2. Appraisal cost
  3. Failure cost

Prevention Costs
Cost involved in preventing failures is prevention cost. There are many tasks which are performed in order to capture failures soon in the life cycle. It can be any product development methods.
Let’s have list of tasks which will cost in prevention of occurring failures,
  • Establishing a process
  • Planning for quality
  • Acquiring new tools and use them
  • Trainings to improve competency
  • Adopt best practices and leanings from past experience

Saturday, July 30, 2011

How to be a leader

This time I’m sharing my ideas about how you can be a successful leader. There are two questions that I want to pop out.

1.How you can be a leader?
2.How you can earn the respect as a leader?

I like to quote one of favorite mottos from our CEO. “Leaders are not born, Leaders are trained”. I believe the saying. But you should have a proper set of skills to become a good leader. Anyone can be a leader but everyone can’t be a successful leader.

Leadership is coming with great responsibilities. So it’s not a jewelry that you can wear and show off to people as well as it is not about the authority. So handle these responsibilities with care.

If you want to be a leader to show off, don’t ever try to be one. Then your team or the company will reject you and you will be in a deep trouble. Another issue in some people is that they try to control people or try to show their authority. People try to show their authority when they can’t lead the team by setting examples. Another weakness of some people is that they try to be leaders by back stabbing. If you are in one of these categories, it’s time to re think. Otherwise your team will not move a single bit towards objectives.

Leaders should be people who facilitate the required environment and providing necessary guidance to achieve the set of objectives for a team. So to archive those objectives, you can’t do it by yourself. You need to guide your team to archive that and you need to lead the way by showing examples. Most importantly the credit should go to the team. You shouldn’t expect the credit for archive objectives. People who are not good leaders, they try to get the credit for the work which done by the team and try to sustain by using those.

So how you can become a leader? You need to work for that, you need to be trained for that. So you need to train on the required skills and you need to use those skills. While you excel those skills, you will automatically become a leader. People will gather around you and they will look for you. This is where people will start to respect and treat you as a leader.

If you can’t expert the required skill set due to the lack of commitment, then you should not deserve that role. First, you need to understand your strengthsas well as weaknesses and then you need to work on those areas where you need improvements. If you can do these adjustments, believe me you can be a successful leader sooner.

Please think again and react before you become a pain to someone.

I end this article with couple quotes and i will meet you again with an article of 'Required skill set for a successful leader'

“And when we think we lead, we are most led.”
~Lord Byron

“A leader is one who knows the way, goes the way, and shows the way.”
~John C. Maxwell

Monday, May 30, 2011

Criticism in office

When i was adding some comments to our company discussion forum, I have commented on a topic on 'criticism'. So i thought of sharing that comment in my blog.

In any culture, each and every one should respect others, when that happens around you, you will be comfortable in the env and you feel that you are in a free and open culture.

Criticism is another good aspect of an open culture. The criticism should be done in professional manner. If not it will lead to lot’s of problems. Why it leads to problems? That’s an area where lots of people feel personally. So it’s really important how you do it. If you do that publicly then people may get offended, may be de motivated and may lead to conflicts. It’s really important how you put it out. So you should not do criticism, you should do Constructive Criticism.

I extracted below theory from CSTE CBOK on how you do Constructive Criticism.

“In giving constructive criticism, you should incorporate the following tactics:

• Do it Privately

Criticism should be given on a one-on-one basis. Only the individual being criticized should be aware that criticism is occurring. It is best done in a private location. Many times it is more effective if it is done in a neutral location, for example, in a conference room or while taking someone to lunch, rather than in the boss' office.

• Have the Facts

General statements of undesired performance are not very helpful. For example, statements such as "That proposal is not clear, fix it" or "Your program does not make best use of the language or technology" leave people feeling confused and helpless. Before criticizing someone’s performance, have specific items that are causing the deficiency or undesirable performance.

• Be Prepared to Help the Worker Improve His Performance

It is not good enough to ask the worker to "fix it.” You must be prepared to help fix it. Be prepared to train the subordinate in the area of deficiency. For example, in a proposal, indicate that a return-on-investment calculation was not made; or if a program failed to use the language properly, state specifically how it should and should not be used. You should not leave an individual feeling that they have performed poorly or unsure as to how to correct that performance.

• Be Specific on Expectations

Be sure your subordinate knows exactly what you expect from him or her now and in the future. Your expectations should be as clear as possible so there can be no confusion. Again, in a proposal, indicate that you expect a return-on-investment calculation included in all proposals. Most people will try to do what they are expected to do—if they know what those expectations are.

• One last recommendation for criticism:

Avoid making threats about what will happen if the performance does not change. This will not cause any positive behavior change to occur and normally produces negative behavior. Leave the individual with the assumption that he or she has the capability for improvement, and that you know he or she will improve.”

When you do criticism acceptably, you will respect the other party and you will gain the respect from others.

“He has a right to criticize, who has a heart to help.” ~ Abraham Lincoln

Tuesday, May 3, 2011

How to motivate your self

If I ask you about a person performance based following statistics, what will be your judgement?

There is one person who performed the same task 62850 times and the success of those tasks was 1334. What you think of his performances? Was he performed well? Or was he underperformed.

The person is none other than our spin legend Murali.

He has bowled 62850 deliveries to get his 1334 wickets in both formats, ODI and Test.

He never feared to bowl, he never gave up, bowl by bowl he focused, improved his performance and became a legend

When it comes to our work, Don’t fear your failures.

That’s my first point of how you can motivate you self in your work life.

If you look at our lives, we do the same thing over n over for years, this induce us to get de motivate our self. There are many factors you can consider to be motivated such as money and power, but I believe to be motivated to be success, money and other external things not that much matters.

So when you fail, take it as a pillar to be success. If Murali gave up his bowling, then there won’t be a legend.

The second point is that do all your tasks positively. Learn to let go negative thoughts of tasks before they have a chance to take hold of you. You might not be able to be positive all the time, but it’s really good being positive all the time, which helps you to be open minded. When you approach to perform a task with mind set like that, you will complete the task or will find solutions for complex tasks. When Murali was dried up with wickets he always took that challenge positively and produce new deliveries to take wickets.

When a task is huge or complex, break it down to small chunks. You can complete them piece by piece, by the end of the day you have completes whole task or at least you have completed some. That feels good. Believe me. Break your task in to small pieces, that’s my third point.

Next point is Remember your successes. The reason behind this is when thoughts of successes flow in your mind you will be energetic and will be in good frame of mind to do complete tasks. You feel positive because you believe you r self because of the successes you had.

Final point of the day will be to have fun, whatever you do, make sure you have fun. It’s always possible to do what you most like to do during weekends or whenever a holiday is there. It’s always good to do exercises as a part of you life with other fun activities. When your mind says get a break, it’s the right time to get a break

Even you can have breaks in between while you perform your tasks daily. I prefer to play TT with my friends at office which refresh my mind continue the remaining tasks. Personally I felt that playing TT refreshes me on a packed day.

Every day you need to ask yourself whether you are motivated and satisfied enough.

And it’s all about, stay hungry stay foolish

Monday, September 6, 2010

Why I Became a tester?

Why I became a tester?

Hmm… a good question to ask after all these years. Is it because I didn't have a choice? Is it because this was the first opportunity that i got? Is it because of an inspiration or is it because developing software instead was too difficult at the time?

I asked myself these questions and to be honest I have to say that it was an opportunity that came my way. When I was looking for a job during the final year of my degree, I got a chance to go for an interview in a reputed company. They offered me a job in the Quality Assurance (QA) track and I jumped at the chance, because it was a good opportunity to start my career in an internationally reputed company.

While I was involved with the day to day activities of the job, I realized that this is what i learnt in the Quality Assurance module during my course work. Then I got the hang of Testing and started to read more about Testing and the QA concepts.

The very first thing that I enjoyed in Testing was the moment when I broke the application that I was testing. I believe that was the moment, when i started to like testing.

As time passed, I gained an immense and immeasurable amount of experience at my current work place. By studying and sitting for exams and learning new strategies I became more passionate about testing. Although I must admit that I still get an adrenaline rush when I am able to break an application!

Even though I became a tester because of the opportunity I was given, now I am a tester because I feel passionately about Testing and Quality Assurance.

Future of Testing

Hi All,

It's time to break the silence of this blog. This the first post after the long break.

I have found an article on ‘Future of testing’ and it gives a brief, how we should prepare for the future as testers. This is something we should think and be proactive.

Introduction

Trends in the industry suggest that software testing in the future will look very different than it does today. Businesses are leading change and transformation projects and application development is changing to support it; current trends include:

  • Web based applications
  • Service Oriented Architectures (SOA)
  • Software as a Service (SaaS)
  • Wireless technologies
  • Mobile technologies
Each of these trends is further complicated by a more agile approach to software development and an increasing emphasis on the 4Rs; repeatability, reliability, re-use and robustness.This paper investigates how testing will need to change to accommodate these trends and become a business led activity.

Predictions about the Future of Software Testing

This paper attempts to predict how testing can become more effective and efficient so that it can keep pace with, and support the changing trends in software development.

In order to drive these changes in effective and efficient application development of quality systems, more emphasis must be placed on improving the Analysis and Design phases and ensuring early engagement of testing in these areas.

To date, analysis and design have been people based activities with Business Analysts and Systems Architects producing a combination of natural language, models and diagramming techniques (such as Data Flow Diagrams, Logical Data Structures, Logical Data Models and Process Data Diagrams) and some structured language techniques (such as Use Cases and UML). This has led to business requirements and functional designs which do not meet the four key criteria which make the resultant systems “testable”; clear, assumption free, unambiguous and complete.

In the future, if we are to enable the production of quality applications, in less time and at lower cost, we will see more structured and more automated analysis and design techniques, with Static Testing (reviews, inspections and walkthroughs) becoming “robotized” and built in as part of the analysis and design requirements capture tools. This will result in clarity, the eradication of assumptions and ambiguity and a greater likelihood of completeness which will in turn enable:

  • Executable specifications
  • Auto generated code and systems configurations
  • Model-based test generation
  • Model-based bug prevention
  • System simulation
  • Fault tolerance developing into self-testing, self monitoring, self healing software
  • Performance optimization “designed in” and “on the fly”

So what will it mean for Testing and QA? Well the products should be more reliable, more reusable and more robust. Automatically generated test scripts with full branch and decision tree coverage at the early test execution stages; unit test and “integration in the small”, combined with the development of fault tolerance into self-testing, self monitoring, self healing software will result in defects being found and eradicated earlier in the lifecycle. As a result,fewer defects should be found at the System Testing and “Integration in the large” stages and businesses will be able to concentrate on Acceptance Testing (User, Operational and Performance) in a fully integrated target environment and do full end to end testing of business processes and model office scenarios. In this way, businesses will be able to leverage their investment in technology to realize true business benefits and competitive advantage through creative integration and deployment of reliable, re-usable, robust components; the way in which the components are integrated and deployed will be the differentiator, not the components/systems themselves. In turn, this will enable business to concentrate on business propositions, and go to market services and products, supported by the ability to deal with high volumes, provide excellent customer service and quickly enable high margin/low volume services etc.

Testing Robots? What about Professional Testers?

Software testing in the era of mainframe systems was merely executing a series of steps manually and punching various key strokes as an attempt to break the application. This was followed by the event-driven client-server environment in which applications were deployed on multiple hardware platforms in conjunction with various other applications. As a result, the scope of testing has increased as failures and unexpected behaviors have become more prominent.
The recent development of web applications, where multilayered designs were architected in order to hold complex business logic, which are to be supported on numerous browser types and various platforms and different network structures, further increases the potential areas of failure. In addition, web applications say something about the integrity of business operations to a large audience of external users (i.e. customers, business partners) and can have a major impact on brand and reputation.

New and emerging technologies, such as Service Oriented Architectures (SOA) are significantly changing the trends in the application testing. SOA in particular has major implications for how tests are esigned and performed. Software as a Service (SaaS) also has a totally different view of software testing. We can conclude that new and more complex technology/architecture creates greater risk.

So, how will the new approaches postulated in the predictions in the previous section of this paper manifest themselves and what will it feel like to be a Test Professional in an increasingly automated and “robot” driven software engineering environment?

Testing mitigates risk and despite automation and “robot” driven testing techniques, the Testing Professional will continue to be pivotal in the Software Engineering Lifecycle. Working in multi-disciplinary teams alongside Subject Matter Experts, Business Analysts, Systems Architects and End Users they will continue to play the roles of; arbitrator,mediator, translator, negotiator between the other parties, ensuring that their ideas are not only effectively specified and designed, but that the criteria required for effective quality and testing are captured and articulated into the models and tools so that tests are accurately generated by the “robots” to verify the design and validate the requirements.

In this new world, the Professional Tester will concentrate on adding value to the business and the software development lifecycle and will operate in a new and elevated position where the combination of their structured process driven approach, creativity, destructive inquisitiveness and ability to articulate and define quality and testing criteria into the models will be critical to the success of the business implementation of technology.

Summary and Conclusion

Change is a given and we can be sure that it will come in larger amounts and at increasing pace. No industry, least of all software engineering, is immune from change and therefore none is immune from risk. The changes in software development will require software testing to develop in parallel. Of one thing we can be sure, the role of the Professional Tester will become more interesting and more essential in both the definition of model based testing criteria and the facilitation of Acceptance Testing (User, Operational and Performance), testing of business processes and model office scenarios alongside Subject Matter Experts and End Users and ultimately realizing business benefits.


Testing and Quality Assurance will become more important and add more value as we move into architectures and technologies that support the business in their goals of bringing products and services to the market as rapidly as possible, with minimal risk. We will see a shift towards testing the transformed business operation, the business processes, the way people interact with the systems and processes and the information it provides, and therefore mitigating the risks and increasing the benefits of business change.

Reference: AppLabs

Friday, December 25, 2009

New Year New Articles

I couldn't publish any article last two months because i had a busy calender. So guys there will be new articles lined up for 2010.....

Wishing you a Merry Christmas and Happy new year

Friday, October 2, 2009

Test Automation Benefits & Priorities

I have listed out few points about automation below. These points will elaborate how important an automation tool in testing is.

Test Automation Benefits
  • Improves testing efficiency
  • Consistent and repeatable testing process
  • Supports quality metrics for test optimization
  • Improved regression tests - decrease cost of change
  • More tests can be run in less time - better coverage and shorter time
  • 24/7 operation - better use of resources
  • Human resources are free to perform advanced manual tests
  • Objective and measurable performance and stress tests
  • Execution of tests that can't be done manually
  • Tests can access system parameters that are not visible to tester
  • Simple reproduction of found defects
  • Testing costs decrease with reuse
Test Automation Priorities


  • Right selection of test procedures for automation is critical.
  • The test automation project should prove its usefulness to the organization by providing maximum impact for minimum effort from the start.
  • The following list represents recommended candidates for the first automation stage:
    - simplest to automate tests
    - frequently running tests
    - critical set tests
  • Good for system "smoke test" execution

Thursday, September 17, 2009

Test Automation Introduction

Test Automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions. Commonly, test automation involves automating a manual process already in place that uses a formalized testing process.

Many test automation tools provide record and playback features that allow users to record interactively user actions and replay it back


Types of Test Automation

  • Functional Testing
  • Performance Testing
  • Stress Testing
  • Load Testing

Functional testing

Functional testing is testing conducted on a complete, integrated system to evaluate the system's compliance with its specified requirements. System testing falls within the scope of black box testing, and as such, should require no knowledge of the inner design of the code or logic.

Tools
  • WinRunner
  • IBM Rational Functional Tester
  • Silk Test

Performance Testing

Performance Testing is testing that is performed, from one perspective, to determine how fast some aspect of a system performs under a particular workload. It can also serve to validate and verify other quality attributes of the system, such as scalability and reliability.
demonstrate that the system meets performance criteria.
impossible to exactly replicate this workload variability of a real time system

Tools
  • OpenSTA
  • LoadRunner
  • Silk Performer

Stress Testing/Load Testing

Stress Testing is a form of testing that is used to determine the stability of a given system or entity. It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results. Stress testing may have a more specific meaning in certain industries.
stress testing often refers to tests that put a greater emphasis on robustness, availability, and error handling under a heavy load, than on what would be considered correct behavior under normal circumstances.

Load Testing is the process of creating demand on a system or device and measuring its response.
Load testing generally refers to the practice of modeling the expected usage of a software program by simulating multiple users accessing the program's services concurrently.

Tools
  • LoadRunner
  • Visual Studio Team Test
  • Application Center Test
  • Silk Performer

Wednesday, September 16, 2009

Risk Based Testing

What is RBT

Risk based Testing (RBT) is a type of software testing that prioritize the features and functions to e tested based on priority /importance and likelihood or impact of failure. In theory, since there are an infinite number of possible tests, any set of tests must be a subset of all possible tests.

Most of the people consider James Bach to be the 'father of Risk based testing.

Activities involved in RBT




Risk Identification involves collecting information about the project and classifying it to detemine the amount of potential risk in the test phase and in production.

Risk Strategy involves the identification and assessment of risks and the development of the contingency plans for for possible alternative project or the mitigation of all risks.

Risk assessment means determining the effect (including cost) of potential risks.

Risk Mitigation is based on information gained from the previous actives of identifying, planning and assessing risks. Risk mitigation/avoidance activities or minimize their impact

Risk Reporting is based on information obtained from the previous topics and it's very often done in standard graphs.

Risk Predication involves forecasting risks using the history and knowledge of previously identified risks

Sunday, August 2, 2009

What is Usability Testing

What is Usability Testing - Part 2


Planning a Test

The first thing to know about planning a usability test is that every test is different in scope, and results will vary a lot depending on the purpose and context of the test. Testing a single new feature will look very different from testing several key scenarios in a new Application.

What Are You Going to Test?

Next, you need to decide what you’re going to test. The best way to do this is to meet with the design and development team and choose features that are new, frequently used, or considered troublesome or especially important. After choosing these features, prioritize them and write task scenarios based on them. A task scenario is a story that represents typical user activities and focuses on a single feature or group of related features. Scenarios should be:

- Short - Time is precious during usability testing, so you don’t want to spend too much time on reading or explaining scenarios.

- Specific - The wording of the scenario should be unambiguous and have a specific end goal.

- Realistic - The scenario should be typical of the activities that an average user will do on the Application.

- In the user’s language and related to the user’s context - The scenario should explain the task the same way that users would. This emphasizes the importance of the pre-session discussion, which gives you the opportunity to understand the participant’s relationship with the Application.

Here’s an example scenario for an Application that sells images:

Ex: You’re looking for an image that you can use on your company’s support Application. Find an appropriate image and add it to your basket. Be sure to let me know when you’re done.

Who is going to evaluate the Application?

Who you choose to evaluate the Application will have a massive effect on the outcome of the research. It’s very important to develop a thoughtful screener for recruiting your participants.

Imagine that you’re creating an Application that sells images. Your customers are people who want to buy images—a huge group of people. Narrow your focus to a short and concise user profile, a picture of your ideal test participants. This profile should be based on your primary user (customer) segment and contain characteristics that those users share.

In this scenario, our participants are graphic designers or other people who use graphic design software and purchase images online. Create and order a list of these users’ characteristics. While you’re creating the user profile, you may realize that you have two or more equally important subgroups—people who buy images for business use and people who buy images for home use. This is fine as long as you can justify the relevance of each subgroup to the features that you’ll be testing.

- Test with a reasonable number of participants —The best results come from testing no more than 5 users and running as many small tests as you can afford.



The most striking truth of the curve is that zero users give zero insights.

As soon as you collect data from a single test user, your insights shoot up and you have already learned almost a third of all there is to know about the usability of the design. The difference between zero and even a little bit of data is astounding.

When you test the second user, you will discover that this person does some of the same things as the first user, so there is some overlap in what you learn. People are definitely different, so there will also be something new that the second user does that you did not observe with the first user. So the second user adds some amount of new insight, but not nearly as much as the first user did.

The third user will do many things that you already observed with the first user or with the second user and even some things that you have already seen twice. Plus, of course, the third user will generate a small amount of new data, even if not as much as the first and the second user did.

As you add more and more users, you learn less and less because you will keep seeing the same things again and again. There is no real need to keep observing the same thing multiple times, and you will be very motivated to go back to the drawing board and redesign the Application to eliminate the usability problems.

After the fifth user, you are wasting your time by observing the same findings repeatedly but not learning much new.

You need to test additional users when the Application has several highly distinct groups of users
Article is prepared by:
Anushka Wickramaratne
Senior QA Engineer

Monday, July 27, 2009

What is Usability Testing

What is Usability Testing - Part 1


Usability testing is a technique for ensuring that the intended users of a system can carry out the intended tasks efficiently, effectively and satisfactorily. In other words, Usability testing should be an iterative practice, completed several times during the design and development life-cycle. The end result is an improved product and a better understanding of the users that we’re designing it for.


Main steps in the usability testing process are Planning, Gathering Data and Reporting results.




There are two scenarios for usability testing:

1. If you are a software product vendor, testing real users of your product means you are evaluating for design. Based on how you have designed the application, can users complete the tasks they need to do? Testing real users doing real tasks can also point out if the UI guidelines you are following are working within the context of your product, and when consistency helps or hinders the users’ ability to do their work.


2. If you are a software product purchaser, you can do usability testing to evaluate a product for purchase. For example, your company might consider buying a product for their twenty thousand employees. Before the company spends its money, it wants to make sure that the product in question will really help employees do their jobs better. Usability testing can also be useful to see if the proposed application follows published UI style guidelines (internal or external). It’s best to use UI guidelines as an auxiliary, rather than primary, source of information for making purchase decisions.

This Guide is discussing on the first scenario ‘evaluating for design’.


When Usability Testing is appropriate?


Usability testing is carried out pre-release so that any significant issues identified can be addressed. It can be carried out at various stages of the design process as well. In the early stages, however, techniques such as walkthroughs are often more appropriate.



Article is prepared by:

Anushka Wickramaratne

Senior QA Engineer