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

Sunday, August 21, 2016

Free Selenium WebDriver Training Online on Buddhatree

1:29:00 AM Posted by Prashant Hegde 116 comments
Selenium Live Training: - This training will make you job ready to take up any assignment in test automation and equips you with essential Selenium skills. It will give you the much needed framework creation experience using Selenium, Java, TestNG, Log4J, Jenkins, Maven via implementation of real life industry projects.

Check the below link for more details on Selenium Training Syllabus:- Selenium Training Syllabus


Check the below link for to join Selenium Online Training Class : - Selenium WebDriver Training

Highlights of the course

Anytime & Anywhere Access
You can attend the Selenium training sessions from any part of the world. You don't have to leave your home and commute to learning centers.  All you need to have is a PC with good internet connection and audio/sound system. You can attend training session as per your convenient time.

Q&A Forum
Buddhatree run their own dedicated Question and Answer FORUM and try to answer every question. The Buddha Tree student’s questions will always answered on priority.

Latest Frameworks

Buddhatree provides training on creating test automation framework using Selenium, Grid, Java, TestNG, log4j, Apache POI, Apache Maven etc.

 

Code Sharing

Students will be provided working code & automation exercises at the end of every session.

We Cover Everything

·         300 page theoretical concept which describes each concept of with syntax & example
·         4000 line of working example
·         30 hours of Video tutorial
·         Interview Questions & Answers

 

Contact Buddha tree for more details


To Students -
As of now Inaugural Offer is going on, get enrolment of trial course in free. Drop a text to buddhatree1@gmail.com

Sunday, August 14, 2016

ISTQB TEST MENTOR. FREE ANDROID APP FOR ISTQB FOUNDATION LEVEL ASPIRANTS!

9:14:00 AM Posted by Prashant Hegde 5 comments


Download link: https://goo.gl/vkzETe





DO YOU THINK YOU ARE PREPARED FOR ISTQB FOUNDATION LEVEL CERTIFICATION?

EXERCISE YOUR MIND WITH OUR NOTORIOUSLY HARD TESTS AND BOOST YOUR PERFORMANCE IN REAL EXAM.


ISTQB TEST MENTOR is a free app which is a must for every ISTQB® foundation level aspirant.
Features
◆Chapter wise test◆
Access to well designed chapter wise questions to test your understanding of every chapter. We have hand picked quality question per chapter so that you can start preparing as soon complete every chapter. No other app provides chapter wise Tests.
◆Mock Exam◆
Test your knowledge of ISTQB® foundation level with our mock test. You have 1 hour to answer 40 questions and you need to answer 26 to clear (just like your real certification exam).The mock exam follows the exam structure as specified by ISTQB®
This helps you get used to the format of the questions and making sure you spend the right amount of time on each sectiom.
◆Glossary◆
The standard ISTQB® Glossary(ordered from A-Z) for your reference. The glossary has definitions of the extract of terms used in the Foundation Level syllabus 3.1. Search for any testing terms and definitions designed to aid communication in (software) testing and related disciplines.
◆Useful links◆
Links to helpful websites to skyrocket your performance in the certification exam.
This app was developed with a genuine intention to help the ISTQB aspirants. 5 reasons you should download ISTQB test mentor right this second:
★The app has quality questions that are unique and are very challenging.
★Questions are handpicked from various sources to challenge your knowledge.
★These questions have helped hundreds of aspirants in the past.
★Share your results on social media and challenge your friends.
★Works Offline.
Website: www.kakoapp.com

Monday, August 8, 2016

ISTQB: Easiest way to solve statement and branch coverage problems.

12:17:00 AM Posted by Prashant Hegde 59 comments
Several ISTQB aspirants face issues in answering the statement and branch coverage questions. These questions are really important to clear ISTQB certification.I got emails from several aspirants where they have asked me doubts on statements and branch coverage. So I decided to write this post.

Before learning how to solve these problem one needs to know the basics of  drawing flow chart.
Flowcharts use special shapes to represent different types of actions or steps in a process. Lines and arrows show the sequence of the steps, and the relationships among them. These are known as flowchart symbols.



STATEMENT COVERAGE

You can say you have achieved 100% statement coverage if your test cases executes every statement in the code at-least once.

Let's solve a problem on statement coverage so that you know how to solve such question when asked in exam.

How many test case are required to achieve 100% statement coverage?

Switch PC on
Start "outlook"
IF outlook appears THEN
Send an email
Close outlook




Tip: To achieve 100% statement coverage you need to execute all the statements (represented with rectangular boxes).You need to find out the shortest number of paths following which all the nodes will be covered. 

As you seen in diagram below in one path we can cover all statements. So 1 test case is enough to achieve 100% statement coverage.

If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline's frequent flier program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full and you check in late. This is shown in Figure 4.5.
Note that each box (i.e. statement) has been numbered. Three tests have been run:

Test 1: Gold card holder who gets upgraded to business class
Test 2: Non-gold card holder who stays in economy
Test 3: A person who is bumped from the flight

What is the statement coverage of these three tests?
a. 60%
b. 70%
c. 80%
d. 90%


The answer is 80%. There are 10 statements(boxes) and 8 have been covered by the tests run.



BRANCH/DECISION COVERAGE:

Branch coverage is also known as Decision coverage. It covers both the true and false conditions unlike statement coverage. We can say we have achieved 100% decision coverage if all the edges in the flow charts are covered by your test case.

How many test case are required to achieve 100% decision coverage?

Switch PC on
Start "outlook"
IF outlook appears THEN
Send an email
Close outlook
We need 2 test cases to achieve 100% decision coverage. 2 paths will ensure covering of all the edges as shown is figure below:

How many test cases are required for 100% decision coverage?

Read P
Read Q
IF P+Q > 100 THEN
Print “Large”
ENDIF
If P > 50 THEN
Print “P Large”
ENDIF



With 2 paths we can cover all the edges. So 2 test cases are required for 100% decision coverage.
Tips
  • Cover all nodes for 100% statement coverage. 
  • Cover all edges for 100% decision coverage.

You are often asked minimum number of test cases required to cover 100%statement and branch coverage in ISTQB exams.
PATH COVERAGE:
To achieve 100% path Coverage you need to cover all the paths from start to end. As far as I know you wont get questions to calculate path coverage in ISTQB certification exam.

How many test cases are required for 100% path coverage?

Read P
Read Q
IF P+Q > 100 THEN
Print “Large”
ENDIF
If P > 50 THEN
Print “P Large”
ENDIF



As shown in the illustration above, 4 test cases are required for 100% path coverage.

1A-2B-E-4F
1A-2B-E-4G-5H
1A-2C-3D-E-4G-5H
1A-2C-3D-E-4F

Remember
  1. Branch coverage and Decision coverages are one and the same
  2. 100% LCSAJ(Linear Code Sequence and Jump.) coverage implies 100% Branch/Decision coverage
  3. 100% Path coverage implies 100% Statement coverage
  4. 100% Branch/Decision coverage implies 100% Statement coverage
  5. 100% Path coverage implies 100% Branch/Decision coverage
I have tried to explain the statement and decision coverage with simple techniques. I hope it helps!


RECOMMENDED BOOK FOR ISTQB NEW SYLLABUS
                                                                    




Popular Posts

Total Pageviews