SUBSCRIBE TO MY CHANNEL

Five Test Automation Mistakes to Avoid - Must watch for testers!

How to be successful QA leader? - Future leaders, QA Leads and Managers

LATEST THINKING

Monday, March 7, 2016

GUIDELINES TO CLEAR ISTQB(CTFL) CERTIFICATION IN YOUR FIRST ATTEMPT !

3:19:00 AM Posted by Prashant Hegde 96 comments



Certifications help us expand our knowledge base beyond that of our everyday tasks. I take online certifications, tests, and courses when I get spare time. I do not consider getting certified as an achievement but it is a great aid for learning and self-assessment. 
ISTQB is the worldwide leader in the certification of competencies in software testing. ISTQB certifications are recognized globally with their presence in more than 100 countries. The syllabus for the certification is developed and reviewed by leading testing professionals from academia and industry. 

I am part of a google group called Software Testing where I see thousands of group members who constantly keep asking how to clear the exams. Several keep asking for question paper dumps. So I thought of sharing my strategy and learning with all the ISTQB aspirants.

SUCCESS STORY OF RAZORTHINK QA TEAM

As a leader, I constantly keep thinking of how I can grow my team's skills. The idea of getting certified from ISTQB hit me. I thought that getting certified would demonstrate the competency of the QA team in their profession.  Within no time I scheduled a meeting with my team. They were excited by the idea and agreed without a second thought. Our director Mr.Vinay Chandra encouraged me to go ahead and was more than happy to sponsor the certifications.

Our QA team works in an agile environment with aggressive deadlines. So the challenge was to figure out how to accomplish this goal in our busy schedules, without harming our projects task. I thought of arranging corporate training on a weekend to get this done. Guess what? The training cost for a 2-day session was quoted close to 1,00,000 INR which is way too expensive! Also one cannot grasp all the concepts in the syllabus within a couple of days.

We decided to go for ISTQB certifications by self-study. I was a little skeptical initially if we could do it without any help but I was confident that we could do it if we plan well. The first thing I did was to register for ISTQB corporate exam and scheduled it after 3 months. This was necessary to make everyone serious about the exams.


I engaged the team in activities that helped them in preparation. I conducted a weekly presentation where a few of the team members would present chapter-wise topics from the ISTQB syllabus. I conducted chapter wise mock tests after completion of presentations.  The team was busy on the weekends and dedicated their time to study as they had to prepare for chapter-wise mock tests. The person who scored the least had to prepare and present the concepts in the next chapter to the team. This ensured that everyone in the team is preparing well as we advanced to the exam date (everyone prepared well at-least to avoid giving presentations ;). The weekly presentation sessions also helped many to overcome their stage-fear and improve their communication skills.

Everyone was a little nervous on the day of the exam. 

It took about 2 months by the time we completed the syllabus. We had planned in a way that we got sufficient time to revise. I conducted 3-4 mock tests of the entire syllabus. By this time the team was well prepared and knew how to manage time in the real exam. The mock tests boosted their confidence and we were all set for the exams. 

My team cleared the certification with flying colors. I secured 88 percent in the exams.


I hope this story motivates you to clear the certifications. Below are a few tips from my experience that will help you clear the examination:

READ BOTH THE TEXTBOOK AND SYLLABUS - NOT ONCE BUT TWICE

“Foundation of Software Testing: ISTQB Certification” by Rex Black, Dorothy Graham is the recommended textbook. You need not have to read any other textbook. 


                                                                        
                                                                

                                                            
Buy now

https://www.amazon.in/gp/product/1408044056/ref=as_li_tl?ie=UTF8&camp=3638&creative=24630&creativeASIN=1408044056&linkCode=as2&tag=prashant90-21&linkId=c3c2a77d46851f7a060e770ff5765a75


ISTQB syllabus is your bible
. The textbook explains every concept in detail with elaborate examples. The ISTQB syllabus is like notes made by summarizing the textbook. You might not understand several concepts if you directly read the syllabus. So read the textbook first and then the syllabus.

Do go through the testing GLOSSARY. There are several terminologies used in the textbook and syllabus which requires you to go through the glossary.

DO NOT RELY ON DUMPS!

Several ISTQB aspirants are misled with the concept that they can clear the exam just by solving a few dumps that are available online without any preparations.

SOLVE the questions that are available online. They help you to understand the nature of questions that will appear in the exam, it might also boost your confidence a bit but NEVER rely only on question paper dumps! You cannot clear the exams by only solving the question dumps. There are several dumps available online with incorrect answers which might confuse you. 

Solve the questions in the textbook. The textbook has questions after every chapter. Do not forget to solve them. These questions are much more useful than the questions that are in the dumps. You can also solve the sample questions provided by several ISTQB boards.

UNDERSTAND THE STRUCTURE OF THE EXAM!

Foundation Level exam can be taken online or you can opt for a written exam. The test has 40 multiple-choice questions. The passing percentage is 65%. You need 26 marks to get through the exam. The good part is there is no negative marking for incorrect answers.

Understand the distribution of questions per cognitive level. Concentrate on K1 questions from where you get 50% of the questions in your exams. K1 questions are straight forward and easier to answer than questions of other cognitive levels. Prepare in such a way that you never make a mistake in answering a K1 question, it greatly increases your chance of clearing the ISTQB exam.



Understand how the questions are distributed per chapter from the diagram below. You can focus your efforts on more important chapters and not waste your time on the chapters from which you might get the only couple of questions. I do not mean that you skip these chapters but focus on the chapters with from where you get more number of questions. Do not skip any chapter if you want to clear ISTQB exams.The table below also helps you a
nalyze the questions per cognitive level for every chapter.

Click here for more details on the ISTQB exam structure.

NOTE, REVISE, TEACH


Write notes and record important ideas from your textbook. Writing is a will not only help you learn more effectively, but it will also help you revise all the concepts. Your brain has three kinds of memory cells: sound, sight, and feel. The best kind of learning occurs when you use all three at the same time. When writing notes you see the words, you say them in your mind and you are using your movement senses as you write them down on the paper.

People only remember about 20% of the information they read after 24 hours. So revision is the key to make sure that what you read does not slip away. Instead of highlighting or underlining textbooks you can:

· Produce mind maps
· Recall what you have just read and test yourself.

Form a study group and practice teaching your learning with your group. Roman philosopher Seneca said, “While we teach, we learn”. Teaching others is a good way to understand and therefore you remember your notes. You learn better, recall better when you teach someone whatever you have learned.

BE OBSERVANT

Read the question twice before you mark the answers. Keep your eyes open for the words like NOT, NEVER in the questions else there is a chance that you may lose marks for simple questions. The same applies to the options. Several questions asked in the ISTQB certification are presented in such a way that all the options look similar.

DON'T GET STRUCK.  MOVE ON

Remember that every question carries only 1 mark. If you are unable to solve any particular problem don't waste too much time. You can keep that problem aside and try to solve it after completing more straight forward and easy questions. There is absolutely no reason to answer the questions in the order they are printed in the exam. I would recommend doing the easiest ones first.

BEWARE, ONLINE EXAM TAKERS!

For online exams, you are provided with a backup sheet. You need to map the answers in this sheet so that you have a backup of the answers in the case of technical issues. Many candidates do not fill up this sheet. Please remember to mark the answers in the backup sheet, it's a lifesaver. In my case, when I submitted my answers there was an issue with internet connectivity and BOOM!



I had to mark all the answers again in 10 mins. If I did not map my answers in the backup sheet then I would be in huge trouble. Do not panic if the same happens to you, be calm and mark the answers by referring the backup sheet and verify that you marked right answers again before you 'submit'.

CHAPTER WISE QUESTIONS

I had created chapter-wise questions for my team while preparing for ISTQB exams. I want to share them with all the ISTQB aspirants. Just taking these tests is not enough to clear the exams, However, they will help you with your preparations if you use them in the right way. Take these tests after you complete reading the textbook, syllabus, and glossary of each chapter and use it to assess yourself.

I have created an android app called "ISTQB Test Mentor" which will help you to access your preparation:
https://play.google.com/store/apps/details?id=com.istqbtestmentor&hl=en

Scan this QR code to download

There are 20 questions for each chapter and the time limit is 30 minutes. If you score more than 15 points in these tests, consider that you have prepared well. ISTQB Test mentor" app also has awesome features like a glossary, mock exams, and useful links to help your preparation.

I hope this helps. Feel free to comment and share your success stories.

Monday, November 30, 2015

IS TEST AUTOMATION A SILVER BULLET?

1:43:00 AM Posted by Prashant Hegde 8 comments

QA plays a crucial part in product quality and product delivery. In agile development methodologies like scrum, QA needs to work in highly compressed test execution cycles. One of the challenges the QA engineer's face is that the code that worked in previous sprints often gets churned by the new features and bug fixes in each subsequent sprint, increasing the risk of regression. Without test automation it might be hard to achieve sufficient test coverage and provide rapid feedback.  
So is test automation a bullet?
Before we jump to the conclusion...we need to understand the following:

WHEN TO AUTOMATE?

Check if your application is automation ready? Below are the questions you need to ask yourself before you rush to automate the tests.
1. Is your application ready for automation?
We need to careful when automating GUI. Never start automating at the start of the project or you might end up re-writing the automation scripts that you have written.
To start automating, you need to have a set of stable and functional features ready. It is wise to start automating when you are sure that these features and the GUI will not change. If you proceed and automate the features that are undergoing continuous changes in GUI then the cost of maintaining the script will be too high. Predicting what will change and what will remain stable is tough to determine when working in an agile environment as we need to embrace and welcome the changes.
Another important thing is not to overlook is the maintenance that is required to keep all your scripts up to date and working. Even after spending hours on programming the automation scripts, your automation scripts might fail when you get a new version of the product. You need to design the scripts in such a way that it will require the smallest amount of maintenance in the future. We should have a plan of how we are going to accomplish that in our 'automation strategy'.
2. Do you have skilled testers in your team?
Your QA team need testers with the skillet to utilize the capabilities of the tool. No tool can help you unless you have skilled resources to implement automation. Your test team should capable of handling challenges that might arise in automating the test suite. Most of the tools demand testers to code. Most of the automation tool vendors provide training and support to the resources else you should consider bringing in an expert from outside. Test Automation is a long term investment. It will take time and expertise in developing and maintaining test automation frameworks and automated scripts. 
 3. Have you selected the right tool?
Choosing the right tool is crucial to succeed in test automation. There are several factors that need to be considered when selecting a test automation tool. Some of the tools are free, some are expensive.
Several times after few days of initial excitement and after automating few tests the tool often becomes "shelf-ware" and testing returns to Manual.
 Here are some factors that you might need to consider before selecting the tool:
  • Does the tool fit into current process and infrastructure?
  • Does the tool vendor support training and provide good services,
  • Do you have the budget for the tool?
  • Product features: How does the tool identify the objects? Image based recognition? Object-based recognition?
  • Which programming languages does it support? Does the QA team have the knowledge on these languages?
  • If using an open source tool: Does the tool have good community support and enough documentation?
  • The list goes on…
There are risks of the vendor going out of stock or the tool being acquired or retired. It's a good practice to explore the tool on a small scale with a pilot project and determine if the tool can accomplish what is needed.
We should keep in mind that no tool is perfect, be it an open-source or commercial.we need to consider the above factors and select the tool that serves our purpose and provides good ROI.

WHAT TO AUTOMATE??

Did you say "Everything"?
 Then it is an unrealistic and impractical expectation!! 
 1. AUTOMATE REPETITIVE STUFF!!
Testing software involves a lot of repetitive work which is tedious to do manually. People become bored and make mistakes when doing the same task over and over. People tend to do the same task differently when they are repeating it again and again. A tool will exactly reproduce what it did before, so each time it is run the result is consistent. The regression suite is the ideal candidate for automation. 

Repetitive work is excellent job for a computer to do.

2. AUTOMATE THE TESTS THAT ARE HARD TO BE PERFORMED MANUALLY.
Assume you are testing an app which has a feature called ‘People’ that sync's all your contacts from various social media and email accounts. You are testing if the ‘contact count’ displayed is accurate. The test account has 5000+ contacts. It is not feasible count the contacts manually and check if the count displayed is accurate. 
Assume your testing an email app and the app crashes frequently when you 'archive' around 30-35 emails in succession(one after another). When developers ask you to replicate this issue, think how tiresome it would be to do it manual. Let's be positive and think that you replicated the issue after few attempts..and the developer fixes it. But that's not the end of the story.... you need to confirmation test if the issue is really fixed..Good luck!
Automation tool eases the life of a QA engineer in such situations and can save a lot of time and effort by automating these annoying tests.
3. AUTOMATE BVT/SMOKE TESTS
BVT(Build Verification tests) are cursory tests that are helpful to determine the stability and testability of the build. These tests need to be run every time a build is deployed. The BVT’s are ideally quick tests that concentrate on core functionality.
Automating BVT's and integrating them to the continuous integration server will ensure that the changes made have not led to regressions. One thing to we need to keep in mind while designing these tests is that the test should be short and should the test should execute in few minutes. There may be multiple commits a day it does not make sense if the automated BVT's run for hours.
Also consider the following while automating:
  • Automation is a great option when we have to validate the same feature with large set of different inputs and data (Data-driven testing).
  • Load and performance testing should be ideally automated where we test the system’s ability to handle load by creating virtual users. 

WHAT NOT TO AUTOMATE?

Do not try to automate the tests that would require human intelligence and intuition.

  • Tests which are not executed frequently or would be too cumbersome to automate.
  • Tests like exploratory testing which based on intuition and expertise of the tester.
  • Tests that need human intervention. An automated test should be able to run and verify the outcome entirely unattended.
  • Do not automate the volatile features which will have frequent changes.
Prioritize your automation using the 20-80-20 rule. Automate 20 percent of the scripts that take 80 percent of the execution time and 20 percent of the resource skills.
CAN TEST AUTOMATION REPLACE HUMAN TESTERS?
One of the developer who watched me automate was fascinated and said “This is cool stuff! Now you need not have to do anything, the computer will do everything for you. I feel that computers will replace the testers soon”.
I replied “The day when testers will be replaced by automated tester's is the day when developer's will be replaced by auto-developer or a CEO will be replaced by an auto-CEO ...”
QA experts do not use the word 'test automation'. They rather call it ‘automation checks’ as they feel testing cannot be automated, but checking can be completely automated. Humans have the ability to do things, notice things, and analyze things that computers cannot. Our humanity as testers plays a big role in identifying defects while testing. A computer cannot experience or cannot express emotions.
A computer cannot 'determine if the game is fun or not?' ..... 'if an app has good user experience or a pleasant interface'..... Or to 'take decisions using heuristics' etc. Automated test can only find defects that you already thought of or predicted might happen.
You may ask if the test automation can run the same test more quickly, more accurately and with same consistency every time, is it not a better than a human tester?
No! Because running a test quickly with more precision and consistency does not produce better software but it would definitely reduce the time required to complete testing. Test Automation is probably one of the most useful weapon in tester's inventory. It has its own place in the inventory. The weapon is useless without its wielder. Automated tests require scripts to be written and maintained, this in turn requires a HUMAN.

 

Automation tools are here to assist the testers not to replace them.


A right mix of manual tests and automated tests are essential to test a software effectively. Automated testing requires a higher initial investment but can yield a higher ROI. Test Automation increases the test team’s efficiency by allowing releases to get to production on schedule. Planning, training the resources, selecting the right tool, understanding the limitations and setting realistic expectations is important for the success of test automation. 
Test Automation is certainly not a "Silver bullet".
Please share your thoughts on this!

Friday, August 7, 2015

ARE YOU STILL USING OLD-SCHOOL BUG LOGGING PROCESS?

7:21:00 AM Posted by Prashant Hegde 4 comments


REPORTING BUGS CAN BE REALLY PAINFUL!

A good bug report is the one that describes the problem well enough that anyone related to the project will easily understand the report without the need to speak to the person who wrote it. A visual representation of the bug can help the developer understand the problem even more quickly. So testers always attach a screenshot of the bugs they encounter, for more complex issues they attach a video.

It’s not that simple!

Mobile app testers get frustrated with taking screenshots and transferring it to their systems and later annotating and highlighting the area of the bug. At last upload it to the ticket in the defect tracker. Think how tedious this task is if a separate ticket has to be raised for every issue.
Recording a video can be even more time consuming. More time is spent in transferring the videos from their device to the system. You might need to compress the videos in case it’s size too large. Even after all this effort the developer might not have enough details to debug the issue?

ARE YOU FED-UP OF RAISING BUGS?

WAIT! THERE IS THE SOLUTION.

YOU NEED AN “IN-APP BUG REPORTING TOOL”

WHAT IS AN IN-APP BUG REPORTING TOOL?

An in-app bug reporting tool allows you to take screenshots, add drawings over them, capture video screen recordings and send them from inside your own app directly to your issue tracker. You can log a bug without the need to close the app you are testing.

HOW TO INTEGRATE IT IN MY APP?

To use the in-app bug reporting tool you need to integrate the SDK given by the tool to your app. The developers need to add few lines of code that’s all. It takes just a few minutes!

HOW DOES IT WORK?

You can trigger the in-app feedback from a “button” or by a gesture like “Shake” within the app which will invoke the SDK. You get options to ‘Take screenshot’ and ‘Record a video’. You can take a screenshot of the issue and annotate it within the app.
You can record the video of the bug as well. Once you’re done taking a screenshot or a video you can describe the bug in a form that is similar to your bug tracker. That’s all you need to do! The tool will create a ticket for you in your test management tool.

Some In-app bug reporting tools let you add voice memo for super-fast bug recording. Cool isn’t it? 

HOW CAN IT HELP ME?

1.      Increase productivity and save more than 50% of your testing time!

Testers spend more than half of their time in reporting bugs they encounter. As mentioned earlier the in-app bug reporter helps to log bugs quickly which helps you to concentrate on testing rather than on reporting bugs. The in-app feedback helps to overcome the lack of communications between developers and testers. When there is a lack of detail or confusion in the bug reports, developers need to request more information in order to understand and replicate the bug. So the tester might have to invest more time to make the developers understand the bugs. The tools provide every technical information that developer wants. Thus eliminating the time needed to explaining the bugs. The tool highly increases the efficiency.

2.      Create comprehensive bug reports instantly.

An in-app bug reporter automates many of the most error-prone manual tasks. The tool auto-populates details like device model, operating system and the version, screen size, app version, language, time zone, and other environment details. They also capture the crash logs for you. The bug reports that are logged from the tool give you deep insights and let you pinpoint the exact issue. They help you to create a ticket quickly and without missing out the essential details.

3.      Integrate with your favorite tools.


Do not worry if you are already using an issue tracker. Most of the tools have the ability to integrate to your issue trackers.  You can add an issue right from your device to your project’s defect tracker.
Several  in-app bug reporting tools support JIRA, Bugzilla, GitHub, Bitbucket, Asana, Trello, Slack, Sprintly, Zendesk, Basecamp, Pivotal tracker, Unfuddle, Redmine and much more.

4.      Collect feedback from Beta testers and customers easily.

  

When you are beta testing your app you might have a hard time to collect and organize the feedback from your users.  Clients may communicate their feedback verbally or via emails while the beta testers raise issues in a defect tracker.

An in-app bug reporting tool makes your life easier by capturing all the issues, feedback in the same place so that you don’t miss anything. The customers and beta testers can report the issues directly from within the app to your bug tracker. It’s easy for a non-technical person to report issues using this tool as it automatically adds all the technical stuff. It saves the costumer’s time in reporting the issues they face by writing long emails. I assure that they will be in love with this tool.

5.       Awesome Dashboards - Get Statistics, graphs, and trends.


Most of these tools provide with a dashboard where you can track the progress, monitor the issues.

Ø  Which OS report the most issues? 
Ø  Which networks are your beta testers using?  
Ø  How many bugs were reported last week?
Ø  Which devices are reporting the most issues?
Ø  How many major bugs are still open?
Ø  ….and much more

You will get all these insights aggregated in one page with various filtering options. 
It let's you identify trends of your app by providing various statistics and graphical reports.

TOOLS

There are several in-app reporting tools in the market. These tools are available for web-apps and mobile platforms like iOS, Android and Windows:

Commercial

·         Bug-Clipper – (Free for 50 issues/month and 5 team members)
·         Instabug - (Free for 2 team members and 2 Apps).
·         Bugdigger
·         Snaffu- (Free for 2 team members and 2 Apps)
·         Applause (The in-app reporter comes a part of the package)

Free

·         Testfairy
·         Jira-Mobile Connect - This add-on is free for JIRA Server instances
·         Blitz Feedback –   is free when registered in beta phase.
·         App-Assist-   You need an invite to use this.

Visual bug reporting  tools for your website

·         Lean Testing(Free for limited features)
·         Usersnap
·         Bugherd

Not many testers are aware of these tools. Every tester needs to come out of the traditional bug reporting technique and utilize the in-app reporting tools to create quality bug reports and speed up the bug logging process.

When will you start using an in-app bug reporting tool?


Popular Posts

Total Pageviews