Pages

Showing posts with label Testing Techniques. Show all posts
Showing posts with label Testing Techniques. Show all posts

Tuesday, 11 August 2015

Online or Offline??? Gmail or Gtalk doesn't matter


This is a strange behavior I observed while I was chatting online with my friend.

Application Used: Gtalk and Gmail chat
Reproducibility: 100%
Machine specific: No

---------------------------------------------------------------------------------------------------

I expect people chatting with me to reply within 5-10 seconds after I send them a message.
I also promise to reply instantly unless I'm not infront of my monitor.

It so happened that I sent my friend a message and I did not get any reply for a minute.

I got irritated by him not responding and I started banging the keys on my keyboard.
Infact I banged only one key - the DOT '.'

I pressed the '.' (DOT without quotes) and pressed enter key.
This continued for 15-20 times continuously.

Then these messages were displayed on Gmail chat window(pop up) and Gtalk application respectively.






















As you can see on both the screenshots, the user is still Online indicated by the Green dot against the name.
And the message reads: "The user did not receive your chat" or "The user's email is offline and can't receive messages right now"

I liked this bug... Use of emotions helped me find this bug.
I don't really care if this is fixed or not but the behavior definitely brought a smile on my face.

:)

Monday, 10 August 2015

Paired Testing at a distance - Part 1


Date: 01 August 2009 Saturday
Time: 2030hrs IST

Mission: To test the website http://www.vischeck.com/vischeck/vischeckURL.php and find bugs.

Time Limit: 2030hrs to 2100hrs IST.
2100hrs to 2130hrs IST: Discussion of bugs.
2130hrs to 2200hrs IST: Prepare the blog post.


Browser: Google Chrome v2.0.172.37
-------------------------------------------------------------------------------------------------
First I planned to collect some colorblind images.
Googled 'color blind images' for Images.

* Entered the URL in the Google Chrome address bar and pressed enter key.
Webpage was loaded.

* Clicked on 'Run Vischeck!' button without entering any URL. A pop up appeared. Ok, Test passed.

* Entered some random characters in the URL field. Error message was displayed.
"There seemed to be a problem with that URL- please try another."

* I wanted to check what would happen if I typed some custom error. So, I replaced the text 'There+seemed+to+be+a+problem+with+that+URL-+please+try+another.' with some text and the new text was displayed on the webpage. This seemed to a major security vulnerability as a coder/hacker might take advantage of this.

* My first Test URL with a valid colorblind image: 'http://brainden.com/images/color-blindness-test-4.jpg'. Clicked on 'Run Vischeck!'
button.

Following text and hyperlinks were displayed.



* Clicked on the image link to open in a new window: Opened the same image.
Clicked on the 'Deuteranope simulation' link to open in a new window:
A window full of JUNK characters was displayed.

* This gave me idea to change the number after the uploads/. I typed some random number. File not found 404 error was displayed.


* Removed the number part of the URL http://vischeck.homeip.net/uploads/124914450524078/ and pressed enter key.
Result:



















Then clicked on some of those folders and some random files were displayed.

* Appended '/?', '/', '?', error=.
Sometimes, only some part of the webpage was displayed.

* Also googled for large size images and tested them.

End of Testing. Time 2106hrs IST.

What could have been better:
I feel lot of time was wasted on testing the "Append text after error=".

Please feel free to comment, critique, suggest, question, discuss.

This is just the first report and intentionally titled Part 1.
More to follow...

Please find the report uploaded at http://tinyurl.com/ll78n5. The report is intentionally left as it is without any modifications.

Please find my testing partner's report and blog post at : http://curioustester.blogspot.com/2009/08/paired-testing-at-distance-part-1.html

My special thanks to Parimala. :)


Dropbox: I love you


Being a tester, I like to test many applications. This exercise also helps me in choosing a product for the weekendtesting sessions. Over the last two years, I might have installed more than a hundred applications. I would download, install, test, retain it if I like it or uninstall after few days.

There are some applications/tools which have taken a permanent place in my toolkit. Today's post is about one such application and it is Dropbox.

What is Dropbox and how is it useful?
It is a free web based file hosting service. Once you install Dropbox on any computer and save files in the Dropbox folders, they automatically are backed up on Dropbox website. If you want to access the same files on some other machine, install Dropbox on that machine. If the Dropbox service is running on both the machines, any files you modify on one computer gets automatically synced and saved on both the computers and on the website too. You no longer have to copy folders/files from one computer to another. Let Dropbox do its job and you concentrate on the files.

Usefulness:


  • Backup feature: Every file you edit is saved on the Dropbox website too. 
  • Online availability: Forget your test machine, personal machine and all the different machines you use to test. Be assured that your files are always available online.
  • Freedom from emails, USBs, CDs: Are you in the habit of emailing yourself copies of the document every time you edit and switch to a different computer? Do you carry a device with the data everywhere you go? Dropbox solves it. 
  • Sharing feature: Do you share files with your friends a lot? You don't want to spend on the upload/download charges and make it a simple process to share? According to me, Dropbox solves it in a matter of few clicks.
  • Accidental Deletion: Did you delete the files by mistake and work on them from scratch? Dropbox saves even the deleted files and you can RECOVER them easily!
  • Free upto 8GB space! When you install, you get 2GB free space and when you refer friends (share link) and they install, you get 250MB/referral. 
What are you waiting for? 
Click on the link http://db.tt/xcAYzF1 , install Dropbox and enjoy the benefits! 

Post your questions about Dropbox as comments to this post and I will answer them for you. 
If you are someone like me who can't live without Dropbox, feel free to share this post or comment on how Dropbox helps you. 

Sympathetic testing


One of the reasons I like BBST courses is that there is a focused reading on a topic. There are questions asked about a document. You might have read the document before but one seems to learn more when there is a focused reading of the same document under time pressure. In the Test Design course, I learn about "Sympathetic Testing". There seems to be an excellent document explaining how to learn an application. The focus is on learning about the application and not testing the application.


I decided to learn about the application ClipX in a similar manner to how Mike Kelly learnt about the Magnifier tool. The first tour described was the 'Feature Tour' where the focus is to move through the application, getting familiar with all the controls and features one comes across.

I installed the application ClipX from http://download.cnet.com/ClipX/3000-2384_4-10315451.html
Based on the Mike Kelly's blog post, I prepared this mindmap.
Application Tours
The next few hours, I will be focusing on the application tours. Let me start with the feature tour.
When I was installing the application, I found one interesting behavior. The 'Run the application now?' popup appeared even before the progress bar on installation window was complete.
Click here to view the partial report of the feature tour. I did not do a complete feature tour.

What did I learn from this exercise?
It was a different experience to focus on learning about the application and not hunt for bugs.

Rich model
As the focus shifted from "Can I test for this bug" to "What else this product can do", I learnt about the product in detail. The additional information will help me frame better tests and target each of the areas I learnt. This also helps me in relating a test on a single feature to its effects on other feature. The rich model helps me think of the big picture.

Better bugs
As I learn more about the overall application, I ask questions related to the design of the application. If I were to concentrate on a single feature, my question might be limited to the particular feature. Looking at the bigger picture, I can find bugs related to the absence/presence of a particular feature. I can question the very existence of a feature instead of a bug in a feature.

Risk - Coverage - Priority
I can talk to my stakeholder with my initial report and ask for the areas to be tested. Based on my initial tours, I have an idea of how a test might affect the other features. How risky is a particular feature? What percent of coverage would be achieved in terms of features? Which feature demands highest priority testing? I have a better answer to such questions after this exercise than before the exercise.

Learn in five minutes
After I finished prepared the report, I realized that few of my tests could have been avoided if I had seen other features before. The next time, I will quickly go through most of the options within five minutes and then focus on tours.

I am still learning to do sympathetic testing well. Have you experienced Sympathetic Testing? What do you think? How do you learn about the application? How much time do you spend?

Tuesday, 6 January 2015

Free .... Free.... Free .... - Software Testing Books


 I did realize that many testers are still hesitant on testing books.So, here is the deal:

Feel free to download the books for free.
Book 1: A collection of tips software tester
Book 2: Win testing
Book 3: Boost your productivity
Book 4:To Improve tester-programmer relationship
Book 5: Mobile Testing 

Book 6: UI & UX Testing

I don't want to upload a zip file and let it lie unzipped for months together.
I am aware of the risk that some of you might download and not read it any time as it is free.
This post is for those who wished to buy but cannot afford it at this moment.

Testing Timeline: What is your %


Do you test software? Do you test every day? Do you get paid for it?
If you answered yes to any of the two questions, I have one more question for you :)
What percentage of office time do you actually test (interact with the software)?
The answer to 'Testing includes...' might differ from one person to another. I don't want to get into that discussion right now. I am more concerned when people spend very little time interacting with the product and complain of bugs being found by the customer. Consider the following three scenarios:

Scenario 1:
A feature has been revamped and will be released to market soon. A tester who has never worked on the feature is called to test the revamp. The tester could:
  • Understand the existing feature
  • Understand the revamp
  • Analyze the XYZ specification
  • Write test cases
  • Test the feature and file bugs
  • Test the system
Scenario 2:
Your team reaches office at 9am and is available till 6pm.
The total time spent testing the product on an average is 3 hrs. Rest of the time is spent on the following:
  • Attending meetings
  • Updating KnowledgeBase pages
  • Plan for next release
  • Taking interviews
  • Document the learning
Scenario 3:
Here is a tester who refuses to follow the rules. She never attends any meeting unless her inputs are a must-have. If she wants to learn anything, she knows the right person who can help her. She is very good at networking and has lots of friends in the whole company. She has one bad habit though, as her colleagues mention. No - not the one about rules, when she is given a feature to test, she spends most of the time interacting with the feature. Her activities can be summed up as follows: 
  • Understand the mission quickly
  • Highlight the traps and risks
  • Test the feature, system
  • Use information from different sources as a heuristic
  • Get help from those who can help her
What is your take on 'How much should you INTERACT with the feature/product/system?'
If you are smart enough, I would expect your answer to start with
.
.
.
.
.
.
.
.
.
'It Depends...' and continue the discussion. At the same time, I am open for new answers.

Saturday, 1 November 2014

Exact Difference between Positive and Negative Testing with Test Scenarios

 

 

Exact Difference between Positive and Negative Test is shown below and hope after seen these differences you do not have any queries left in your mind because I am writing the differences in tabular form so that you all can learns it easily and breaks the any sort of interview in software testing field you came across.

Positive and Negative Testing

Top Distinction between Positive and Negative Testing

    Positive Testing (Valid)
   Negative Testing (Invalid)
1. Positive Testing means testing the application or system by giving valid data.
1. Negative Testing means testing the application or system by giving invalid data.
2. In this testing tester always check for only valid set of values.
2. In this testing tester always check for only invalid set of values.
3. Positive Testing is done by keeping positive point of view for example checking the mobile number field by giving numbers only like 9999999999.
3. Negative Testing is done by keeping negative point of view for example checking the mobile number field by giving numbers and alphabets like 99999abcde.
4. It is always done to verify the known set of Test Conditions.
4. It is always done to break the project and product with unknown set of Test Conditions.
5. This Testing checks how the product and project behave by providing valid set of data.
5. This Testing covers those scenarios for which the product is not designed and coded by providing invalid set of data.
6. Main aim means purpose of this Testing is to prove that the project and product works as per the requirements and specifications.
6. Main aim means purpose of this Testing is try to break the application or system by providing invalid set of data.
7. This type of Testing always tries to prove that a given product and project always meets the requirements and specifications of a client and customer.
7. Negative Testing is that in which tester attempts to prove that the given product and project does, which is not said in the client and customer requirements.
Positive and Negative Test Scenarios with Example

Positive and Negative testing can be used in different set of scenarios, but below is given the scenario of login form on which these two types of testing are used.

For example you are doing the testing on login form which have following fields like Username field, Password field, and Sign In, Sign Up, Cancel, Login Button etc. Now you have to perform the positive and negative test scenarios on that, so your criteria for doing positive and negative testing are given below:

Now positive scenario of login form is that you enter the valid username and password in the username and password field, and then click on Login Button to check whether the user is able to login or not.

Negative scenario of login form is that you leave the password field blank and fill the username field, and then click on Login Button to check whether the user is able to login or not.

Monday, 22 September 2014

Load Runner for Beginners




Hi Guys..

Here's a new way to learn load runner easily. Basically I worked on 9.0 version. So, Here are the basic concepts of the load runner which are helpful for beginners.

Basically Load Runner is automated performance tool which comes under performance testing.
Let's see what is performance testing and what we do in performance testing.

Performance Testing:
Performance testing will be done to ensure that there are no performance related risks at the time of production or live environment. It's a means of Quality Assurance.

The focus of Performance testing is checking a software program's



·   Speed:       Determines whether the application responds quickly.

·  Scalability:  Determines maximum user load the software application can handle.

·  Stability:      Determines if the application is stable under varying loads.

 There are different types of performance testing. They're

Load Testing: checks the application’s ability to perform under anticipated user loads. The objective is to identify performance bottlenecks before the software application goes live.

Stress Testing: involves testing an application under extreme workloads to see how it handles high traffic or data processing .The objective is to identify breaking point of an application.

Endurance Testing: is done to make sure the software can handle the expected load over a long period of time.

Spike Testing: tests the software’s reaction to sudden large spikes in the load generated by users. The best example for spike testing is train reservation during tatkal time.

Scalability Testing: The objective of scalability testing is to determine the software application’s effectiveness in “scaling up” to support an increase in user load. It helps plan capacity addition to your software system.

Volume Testing: Under Volume Testing large no. of. Data is populated in database and the overall software system’s behavior is monitored. The objective is to check software application’s performance under varying database volumes
 Common Performance Problems:

    Long Load Time.
    Poor response time.
    Bottle necking.
    Scalability.

There are different types of performance testing tools

    Load runner
     J Meter
    Open STA
    Neo Load
     Open Load
    Load Impact

The above are the mostly used automation tools in most of the organizations. Some are free to use and some are paid. The major difference between free and paid tools is some free tools won't support all types of environments and some do. Coming to paid tools, they support all type of environments with respective number of Vusers as per the price what you're paying for.
LOAD RUNNER

 Why Load Runner:

    Load Runner: One of the best automated performance testing tool.
    Uses ANSI C as the default programming language and other languages like Java and VB.
    No need to install it on the server under test. It uses native monitors.
     Supports all types of protocols (HTTP, FTP and SMTP).
     Easy to analyze the results and creating scripts.


As we know Load Runner was invented by Hewlett-Packard organization. One of the best and most used tool by the organizations. Though it's a paid tool, for perfect and easiness in use this tool is the best.

For every tool, there is a testing process to test an application. For Load Runner tool, the best process to follow is :

The above model is the best model to follow to perform a performance test.
Let's discuss much about the tool.
 There are different components of Load Runner. They' are


Components of Load Runner:

1) Vuser Generator
2) Controller
3) Analyzer

Let's discuss about each component briefly with related examples.
VUser Generator:
The first component and the basic component is "Vuser Generator". In Load Runner tool humans are replaced by Vusers who are replica of humans. More number of Vusers can be worked on a single work station with different scenarios. Load runner can accommodate hundreds or even thousands of Vusers with different scenarios.
With the help of Vuser script, Vusers can perform the tests. User can record and playback the application for script generation.
By modification or editing the scripts, user can create different scenarios for different Vusers. With this load test can be made simple and easy with one workstation.

Controller:
In Load Runner ‘Controller’ is used to control the VUsers with single work station with different scenarios assigned to VUsers.
Analysis:
After the performance test the user can view the results of the test in graphs.

More into the concepts of Load Runner. As we discussed, we start with 'Vuser Generator'.

Vuser scripts are created by Virtual User Generator with the recording of activities between client and server. It records the scripts. These scripts are used to emulate the steps of real human users. Using Vugen, we can also run the scripts for debugging.
VuGen can be used for recording in windows platforms. But, a recorded Vuser script can also be run on Unix platform.

Developing Vuser Script is a five step process:

    Record a Vuser script
    Vuser Script Enhancement – by adding the control statements and other functions
    Run time Settings Configuration
    Running of Vuser Script on Stand Alone machine – Verify that the script runs correctly
    Integration of Vuser Script – into a LoadRunner scenario or Performance Center or Tuning module session or Business process monitor profile etc.


Steps to create scripts:

Vuser generator will be able to record the scripts from the application. User can record the application script.


    Launch Load Runner-> Select record or create script.
    Select New Vuser Script-> Select Next.
    Select the needed protocol (Supports multiple and single protocols) -> Click OK.
    Select ‘Tools’ from menu bar ->Recording Options-> Under Recording options Select ‘Recording’
    Select the particular protocol type and script types (with or without user actions i.e. only URL’s)
    Select ‘start Recording’ under menu pane.
    Enter the website on the dialog box-> Select ‘OK’.
    Perform the actions on the website opened.
    Automatic script creation will be done in load runner.
    End of Script creation.

With the user script created, we can parametrize the  recorded script. Parametrization helps us to create different actions for different Vusers which will be allocated in run-time settings.




Parameterization:
User can parameterize the created script with respective parameters in the application. Major advantage of load runner is that the user can insert any number of parameters in to the script with respect to application.
Watch this tutorial for more info on parametrization
.

Process to parametrize:

    Right click on the appropriate parameters in the script.
    Select replace parameters.
    The parameter name must be generic(the parameter naming is user-defined and named as per ease of use) as per the application defined.
    Insert with respective parameters in the parameters window.
    Select ‘OK’.


Before running the scripts, user has to change the runtime settings as per the modified script and with respect to the number of iterations.
Menu->View->run time settings-> change the settings as per the requirements.
There are few ways to adopt a parameter and as per the availability we can assign the type of the parameter to it.
Types of Parameters:

    File
    Table
     XML
     Random Number
     Iteration Number
     Unique Number
     Load generator Name
     Date/Time
    Vuser ID
    User-Defined parameter.



The above are the types of parameter files we can use in Load Runner. Let's see in-depth about types.


File and Table:
These are the most widely used parameter types in the performance testing domain. Vusers take value from the data file and table.
When a file type or table type parameter is used, a .dat file is created. By default all the data files are named as <Parameter Name>.dat and are stored in the script’s directory.
When VuGen opens the data file, it displays the first 100 rows. To view all of the data, click ‘Edit with Notepad’ and view the data in ‘parameter properties’.

 XML type parameters:
XML Parameter Types are used for multiple valued data contained in an XML structure. It replaces a complex structure in which an array can be made a part of another array.
The complex structure as required in a web-service call can be replaced with a single XML parameter.
E.g., An XML parameter by the name Contact can replace a name, email id, mobile number, and address.
XML parameterization helps to have cleaner input of the data, and enables efficient parameterization of Vuser scripts. XML parameters are widely used with Web Service scripts and with SOA services.

Random Number:
Random Number replaces the parameter with a random number. While creating random type parameter, a minimum and maximum value of the range (the range, out of which the random number is planned to be selected) is required to be set.
A Random type parameter can be used -
·                                 To sample a system’s behavior within a possible range of values. E.g. To randomly view the details of 50 incidents being created in the system, one can specify the range for 50 serial incident ids (e.g., Min – 40001, Max - 40050) and emulate the situation. Randomly incident details will be viewed by Vusers.

·                                 Percentage distribution of tasks’ execution by Vusers. Random number can be set to have a range of 100. Using if loop one can achieve appropriate percentage distribution of different tasks.

Iteration Number:

Iteration number parameter type replaces the parameter name with Vuser’s current iteration number.
An iteration type parameter can be used -
·                                 To print the Vuser’s iteration number in external file as sometimes required while debugging scripts for data-issues.
·                                 To allocate a unique data input per Vuser.


 Unique Number:
Unique number parameter replaces the parameter with a unique value. This value is taken from the range set by entering the start value and the size of the range.
Unique number type of parameter is used -
·                                 To enter a unique value in the data field while script execution. (E.g. setting a unique username for a Signup transaction of a website).

·                                 To check system’s behavior for all possible values of the parameter.
E.g., Executing a query for all employees, whose ID numbers range from 100 through 199, create 100 Vusers and set the start number to 100 and block size to 100.
 
LoadGenerator Name:
A LoadGenerator is the machine on which Vusers perform the steps as in the scripts. During test execution, Load Generator Name type parameter replaces the parameter with the name of the Vuser script’s load generator.
A LoadGenerator type of parameter is used -
·                                 While debugging scripts, to understand if failures exist only at a particular loadgenerator.
·                                 To segregate results and logs between different loadgenerators.

Date/Time parameter type:
A Date/time parameter replaces the parameter with a date and/or time. One can specify one’s own format of date/time representation.
Date/time parameter type is used in -
·                                 Business scenarios in which vuser wants to get specific details for specific duration of time. In the form data, the ‘from’ field-type will have value of last month’s date-time and the ‘to’ field will have date/time of current date-time.
·                                 Scenarios in which vuser has to enter a date-time value.
·                                 Scenarios in which vusers have to enter a unique string value for a field.

Vuser Id parameter type:
A Vuser ID replaces the parameter with the ID number assigned to the Vuser by the Controller during a scenario run. When you run a script from VuGen, the Vuser ID is always 1.
Vuser id parameter type is used -
·                                 To print the vuser id in an external file for script-debugging purpose.
·                                 To segregate transaction volume based on Vuser ids.

 User defined parameter type:
A User defined parameter type is a user-defined function in which call to the function is made and the value returned by the function replaces the parameter name.
This type of parameter is used in following cases -
·                                 Random function can be called to capture one out of the many co-related values stored in an array (created by web_reg_save_param).
·                                 To obtain a value in a specific format that is not supported by other parameter types.

We can observe while recording a script , a window with some buttons will be displayed. Which contains vuser_init, action,vuser_end. These are the options which are useful for the user at the time of recording script.

Like generally,
What is the purpose of vuser_init action in LoadRunner?
Vuser_init action contains details of procedures to login to a server.


With this the parametrization of script will be done to allocate to different Vusers.


CATCH ME

Tuesday, 1 July 2014

INTERNET ERROR CODES!!!



Error 400 - Bad request.
Error 401 - unauthorized request.
Error 403 - forbidden.
Error 404 - Not found.
Error 500 -Internal error.
Error 501 - Not Implemented.
Error 502 - Bad Gateway.
Error 503 -Service unavailable.
Error 504 - Gateway Time-Out.
Error 505 - HTTP Version not supported/DNS Lookup Fail/unknown host.
Error 500-599 - Server Errors.

Wednesday, 25 June 2014

This is the top 10 of most mentioned books for Software Testers:


Lessons Learned in Software Testing – Cem Kaner, James Bach, Brett Petticord (31 votes)
Perfect Software and other Illusions about Software Testing – Gerald M. Weinberg (19 votes)
Agile Testing – Lisa Crispin and Janet Gregory (14 votes)
Thinking fast and slow – Daniel Kahneman (12 votes)
How to Break Software – James A. Whittaker (11 votes)
Tacit and Explicit Knowledge – Harry Collins (10 votes)
Explore It! – Elisabeth Hendrickson (9 votes)
Secrets of a Buccaneer-Scholar – James Bach (9 votes)
A Practitioner’s Guide to Software Test Design – Lee Copeland (9 votes)
An introduction to general systems thinking – Gerald M Weinberg (6 votes)
Peopleware: Productive Projects and Teams – Timothy Lister & Tom DeMarco (6 votes)
Quality Software Management Vol. 1 Systems Thinking – Gerald M. Weinberg (6 votes)
Secrets of Consulting – Gerald M. Weinberg (6 votes)
Testing Computer Software – Cem Kaner, Jack Falk, Hung Q. Nguyen (6 votes)
The Black Swan – Nassim Nicholas Taleb (6 votes)

 ebooks by our top tester - Ajay Balamurgadas:. 

http://enjoytesting.blogspot.in/2011/10/release-of-my-ebook-what-if.html

The Little Black Book of Test Design (PDF)
http://www.thetesteye.com/papers/TheLittleBlackBookOnTestDesign.pdf

Selenium Tutorial for Beginner/Tips for Experts
http://www.jroller.com/selenium/




 






Friday, 7 March 2014

"Blame Dosen't fix bugs"


Basic Questions and Answers

1. What is meant by Priority and severity?

Severity:
1. This is assigned by the Test Engineer
2. This is to say how badly the deviation that is occurring is affecting the other modules of the build or release.
Priority:
1. This is assigned by the Developer.
2. This is to say how soon the bug as to be fixed in the main code, so that it pass the basic requirement.
Egg. The code is to generate some values with some valid input conditions. The priority will be assigned so based on the following conditions:
a> It is not accepting any value
b> It is accepting value but output is in non-defined format (say Unicode Characters).
A good example I used some Unicode characters to generate a left defined arrow, it displayed correctly but after saving changes it gave some address value from the
Stack of this server. For more information mail me I will let you know.

2. Give me some example for high severity and low priority defect?
If suppose the title of the particular concern is not spelled correctly, it would give a negative impacted ICICC is spelled as a title for the project of the concern ICICI. Then it is a high severity, low priority defect.

3. What is basis for test case review?
The main basis for the test case review is
1. Testing techniques oriented review
2. Requirements oriented review
3. Defects oriented review.

4. What are the contents of SRS documents?
Software requirements specifications and Functional requirements specifications.

5. What is difference between the Web application testing and Client Server testing?
Testing the application in intranet (without browser) is an example for client -server. (The company firewalls for the server are not open to outside world. Outside people cannot access the application.)So there will be limited number of people using that application.
Testing an application in internet (using browser) is called web testing. The application which is accessible by numerous numbers around the world (World Wide Web.)
So testing web application, apart from the above said two testing there are many other testing to be done depending on the type of web application we are testing.
If it is a secured application (like banking site- we go for security testing etc.)
If it is an e-commerce testing application we go for Usability etc…Testing.

6. Explain your web application architecture?
Web application is tested in 3 phases
1. Web tier testing –> browser compatibility
2. Middle tier testing –> functionality, security
3. Data base tier testing –> database integrity, contents

7.suppose the product/application has to deliver to client at 5.00PM,At that time you or your team member caught a high severity defect at 3PM.(Remember defect is high severity)But the client is cannot wait for long time. You should deliver the product at 5.00Pm exactly. Then what is the procedure you follow?
The bug is high severity only so we send the application to the client and find out the severity is priority or not. If its priority then we ask him to wait.
Here we found defects/bugs in the last minute of the delivery or release date
Then we have two options
1. Explain the situation to client and ask some more time to fix the bug.
2. If the client is not ready to give some time then analyze the impact of defect/bug and try to find workarounds for the defect and mention these issues in the release notes as known issues or known limitations or known bugs. Here the workaround means remedy process to be followed to overcome the defect effect.
3. Normally this known issues or known limitations (defects) will be fixed in next version or next release of the software

8. Give me examples for high priority and low severity defects?
Suppose in one banking application there is one module ATM Facility. In that ATM facility when ever we are depositing/withdrawing money it is not showing any conformation message but actually at the back end it is happening properly with out any mistake means only missing
Of message. In this case as it is happening properly so there is nothing wrong with the application but as end user is not getting any conformation message so he/she will be
Confuse for this. So we can consider this issue as HIGH Priority but LOW Severity defects…

9. Explain about Bug life cycle?
1) Tester->
2) Open defect->
3) Send to developer
4) ->if accepted moves to step5 else sends the bug to tester gain
5) Fixed by developer ->
6) Regression testing->
7) No problem inbuilt and sign off
->if problem in built reopen the issue send to step3

10. How can you report the defect using excel sheet?
To report the defect using excel sheet
Mention: The Future that been effected.
Mention: Test Case ID (Which fail you can even mention any other which are dependency on this bug)
Mention : Actual Behavior
Mention : Expected Behavior as mentioned in Test Case or EFS or EBS or SRS document with section
Mention : Your Test Setup used during Testing
Mention : Steps to Re-Produce the bug
Mention : Additional Info
Mention : Attach a Screen Shot if it is a GUI bug
Mention : Which other features it is blocking because of this bug that you are unable to
Execute the test cases.
Mention: How much time you took to execute that test case or follow that specific TC
Which leaded to bug?



Software Testing Glossary

Acceptance Testing: Testing conducted to enable a user/customer to determine whether to accept a software product. Normally performed to validate the software meets a set of agreed acceptance criteria.

Accessibility Testing: Verifying a product is accessible to the people having disabilities (deaf, blind, mentally disabled etc.).

Ad Hoc Testing: A testing phase where the tester tries to 'break' the system by randomly trying the system's functionality. Can include negative testing as well. See also Monkey Testing.

Agile Testing: Testing practice for projects using agile methodologies, treating development as the customer of testing and emphasizing a test-first design paradigm. See also Test Driven Development.

Application Binary Interface (ABI): A specification defining requirements for portability of applications in binary forms across defferent system platforms and environments.

Application Programming Interface (API): A formalized set of software calls and routines that can be referenced by an application program in order to access supporting system or network services.

Automated Software Quality (ASQ): The use of software tools, such as automated testing tools, to improve software quality.

Automated Testing: 

  • Testing employing software tools which execute tests without manual intervention. Can be applied in GUI, performance, API, etc. testing.
  • 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.
Backus-Naur Form: A metalanguage used to formally describe the syntax of a language. 

Basic Block: A sequence of one or more consecutive, executable statements containing no branches. 

Basis Path Testing: A white box test case design technique that uses the algorithmic flow of the program to design tests. 

Basis Set: The set of tests derived using basis path testing

Baseline: The point at which some deliverable produced during the software engineering process is put under formal change control. 

Benchmark Testing: Tests that use representative sets of programs and data designed to evaluate the performance of computer hardware and software in a given configuration. 

Beta Testing: Testing of a rerelease of a software product conducted by customers. 

Binary Portability Testing: Testing an executable application for portability across system platforms and environments, usually for conformation to an ABI specification. 

Black Box Testing: Testing based on an analysis of the specification of a piece of software without reference to its internal workings. The goal is to test how well the component conforms to the published requirements for the component. 

Bottom Up Testing: An approach to integration testing where the lowest level components are tested first, then used to facilitate the testing of higher level components. The process is repeated until the component at the top of the hierarchy is tested. 

Boundary Testing: Test which focus on the boundary or limit conditions of the software being tested. (Some of these tests are stress tests). 

Boundary Value Analysis: In boundary value analysis, test cases are generated using the extremes of the input domaini, e.g. maximum, minimum, just inside/outside boundaries, typical values, and error values. BVA is similar to Equivalence Partitioning but focuses on "corner cases". 

Branch Testing: Testing in which all branches in the program source code are tested at least once. 

Breadth Testing: A test suite that exercises the full functionality of a product but does not test features in detail. 

Bug: A fault in a program which causes the program to perform in an unintended or unanticipated manner. 

CAST: Computer Aided Software Testing. 

Capture/Replay Tool: A test tool that records test input as it is sent to the software under test. The input cases stored can then be used to reproduce the test at a later time. Most commonly applied to GUI test tools. 

CMM: The Capability Maturity Model for Software (CMM or SW-CMM) is a model for judging the maturity of the software processes of an organization and for identifying the key practices that are required to increase the maturity of these processes. 

Cause Effect Graph: A graphical representation of inputs and the associated outputs effects which can be used to design test cases. 

Code Complete: Phase of development where functionality is implemented in entirety; bug fixes are all that are left. All functions found in the Functional Specifications have been implemented. 

Code Coverage: An analysis method that determines which parts of the software have been executed (covered) by the test case suite and which parts have not been executed and therefore may require additional attention. 

Code Inspection: A formal testing technique where the programmer reviews source code with a group who ask questions analyzing the program logic, analyzing the code with respect to a checklist of historically common programming errors, and analyzing its compliance with coding standards. 

Code Walkthrough: A formal testing technique where source code is traced by a group with a small set of test cases, while the state of program variables is manually monitored, to analyze the programmer's logic and assumptions. 

Coding: The generation of source code. 

Compatibility Testing: Testing whether software is compatible with other elements of a system with which it should operate, e.g. browsers, Operating Systems, or hardware. 

Component: A minimal software item for which a separate specification is available. 

Concurrency Testing: Multi-user testing geared towards determining the effects of accessing the same application code, module or database records. Identifies and measures the level of locking, deadlocking and use of single-threaded code and locking semaphores. 

Conformance Testing: The process of testing that an implementation conforms to the specification on which it is based. Usually applied to testing conformance to a formal standard. 

Context Driven Testing: The context-driven school of software testing is flavor of Agile Testing that advocates continuous and creative evaluation of testing opportunities in light of the potential information revealed and the value of that information to the organization right now. 

Conversion Testing: Testing of programs or procedures used to convert data from existing systems for use in replacement systems. 

Cyclomatic Complexity: A measure of the logical complexity of an algorithm, used in white-box testing. 

Data Dictionary: A database that contains definitions of all data items defined during analysis. 

Data Flow Diagram: A modeling notation that represents a functional decomposition of a system. 

Data Driven Testing: Testing in which the action of a test case is parameterized by externally defined data values, maintained as a file or spreadsheet. A common technique in Automated Testing

Debugging: The process of finding and removing the causes of software failures. 

Defect: Nonconformance to requirements or functional / program specification 

Dependency Testing: Examines an application's requirements for pre-existing software, initial states and configuration in order to maintain proper functionality. 

Depth Testing: A test that exercises a feature of a product in full detail. 

Dynamic Testing: Testing software through executing it. See also Static Testing

Emulator: A device, computer program, or system that accepts the same inputs and produces the same outputs as a given system. 

Endurance Testing: Checks for memory leaks or other problems that may occur with prolonged execution. 

End-to-End testing: Testing a complete application environment in a situation that mimics real-world use, such as interacting with a database, using network communications, or interacting with other hardware, applications, or systems if appropriate. 

Equivalence Class: A portion of a component's input or output domains for which the component's behaviour is assumed to be the same from the component's specification. 

Equivalence Partitioning: A test case design technique for a component in which test cases are designed to execute representatives from equivalence classes. 

Exhaustive Testing: Testing which covers all combinations of input values and preconditions for an element of the software under test. 



Functional Decomposition: A technique used during planning, analysis and design; creates a functional hierarchy for the software. 

Functional Specification: A document that describes in detail the characteristics of the product with regard to its intended features. 

Functional Testing:

  • Testing the features and operational behavior of a product to ensure they correspond to its specifications.
  • Testing that ignores the internal mechanism of a system or component and focuses solely on the outputs generated in response to selected inputs and execution conditions.



Glass Box Testing: 
A synonym for White Box Testing.

Gorilla Testing: Testing one particular module,functionality heavily.

Gray Box Testing: A combination of Black Box and White Box testing methodologies: testing a piece of software against its specification but using some knowledge of its internal workings.

High Order Tests: Black-box tests conducted once the software has been integrated.

Independent Test Group (ITG): A group of people whose primary responsibility is software testing, 

Inspection: A group review quality improvement process for written material. It consists of two aspects; product (document itself) improvement and process improvement (of both document production and inspection).

Integration Testing: Testing of combined parts of an application to determine if they function together correctly. Usually performed after unit and functional testing. This type of testing is especially relevant to client/server and distributed systems.

Installation Testing: Confirms that the application under test recovers from expected or unexpected events without loss of data or functionality. Events can include shortage of disk space, unexpected loss of communication, or power out conditions.

Load testing: "It is the process of subjecting a computer, peripheralservernetwork or application to a work level approaching the limits of its specifications. Load testing can be done under controlled lab conditions to compare the capabilities of different systems or to accurately measure the capabilities of a single system. Load testing can also be done in the field to obtain a qualitative idea of how well a system functions in the "real world."

Localization Testing: This term refers to making software specifically designed for a specific locality.

Loop Testing: A white box testing technique that exercises program loops.

Metric: A standard of measurement. Software metrics are the statistics describing the structure or content of a program. A metric should be a real objective measurement of something such as number of bugs per lines of code.

Monkey Testing: Testing a system or an Application on the fly, i.e just few tests here and there to ensure the system or an application does not crash out.

Mutation Testing: Testing done on the application where bugs are purposely added to it.

Negative Testing: Testing aimed at showing software does not work. Also known as "test to fail". See also Positive Testing.

N+1 Testing: A variation of Regression Testing. Testing conducted with multiple cycles in which errors found in test cycle N are resolved and the solution is retested in test cycle N+1. The cycles are typically repeated until the solution reaches a steady state and there are no errors. See also Regression Testing.

Path Testing: Testing in which all paths in the program source code are tested at least once.

Performance Testing: Testing conducted to evaluate the compliance of a system or component with specified performance requirements. Often this is performed using an automated test tool to simulate large number of users. Also know as "Load Testing".

Positive Testing: Testing aimed at showing software works. Also known as "test to pass". See also Negative Testing.

Quality Assurance: All those planned or systematic actions necessary to provide adequate confidence that a product or service is of the type and quality needed and expected by the customer.

Quality Audit: A systematic and independent examination to determine whether quality activities and related results comply with planned arrangements and whether these arrangements are implemented effectively and are suitable to achieve objectives.

Quality Circle: A group of individuals with related interests that meet at regular intervals to consider problems or other matters related to the quality of outputs of a process and to the correction of problems or to the improvement of quality.

Quality Control: The operational techniques and the activities used to fulfill and verify requirements of quality.

Quality Management: That aspect of the overall management function that determines and implements the quality policy.

Quality Policy: The overall intentions and direction of an organization as regards quality as formally expressed by top management.

Quality System: The organizational structure, responsibilities, procedures, processes, and resources for implementing quality management.


Race Condition: A cause of concurrency problems. Multiple accesses to a shared resource, at least one of which is a write, with no mechanism used by either to moderate simultaneous access.

Ramp Testing: Continuously raising an input signal until the system breaks down.

Recovery Testing: Confirms that the program recovers from expected or unexpected events without loss of data or functionality. Events can include shortage of disk space, unexpected loss of communication, or power out conditions.

<>Regression Testing: Retesting a previously tested program following modification to ensure that faults have not been introduced or uncovered as a result of the changes made.

Release Candidate: A pre-release version, which contains the desired functionality of the final version, but which needs to be tested for bugs (which ideally should be removed before the final version is released).



Sanity Testing: Brief test of major functional elements of a piece of software to determine if its basically operational. See also Smoke Testing.

Scalability Testing: Performance testing focused on ensuring the application under test gracefully handles increases in work load.

Security Testing: Testing which confirms that the program can restrict access to authorized personnel and that the authorized personnel can access the functions available to their security level.

<>Smoke Testing: A quick-and-dirty test that the major functions of a piece of software work. Originated in the hardware testing practice of turning on a new piece of hardware for the first time and considering it a success if it does not catch on fire.

Soak Testing: Running a system at high load for a prolonged period of time. For example, running several times more transactions in an entire day (or night) than would be expected in a busy day, to identify and performance problems that appear after a large number of transactions have been executed.

Software Requirements Specification: A deliverable that describes all data, functional and behavioral requirements, all constraints, and all validation requirements for software/

Software Testing: A set of activities conducted with the intent of finding errors in software.

Static Analysis:  Analysis of a program carried out without executing the program.

Static Analyzer: A tool that carries out static analysis.

Static Testing: Analysis of a program carried out without executing the program.

Storage Testing: Testing that verifies the program under test stores data files in the correct directories and that it reserves sufficient space to prevent unexpected termination resulting from lack of space. This is external storage as opposed to internal storage.

Stress Testing: Testing conducted to evaluate a system or component at or beyond the limits of its specified requirements to determine the load under which it fails and how. Often this is performance testingusing a very high level of simulated load.

Structural Testing: Testing based on an analysis of internal workings and structure of a piece of software. See also White Box Testing.

System Testing: Testing that attempts to discover defects that are properties of the entire system rather than of its individual components. 


Testability: The degree to which a system or component facilitates the establishment of test criteria and the performance of tests to determine whether those criteria have been met.

Testing: 
  • The process of exercising software to verify that it satisfies specified requirements and to detect errors.
  • The process of analyzing a software item to detect the differences between existing and required conditions (that is, bugs), and to evaluate the features of the software item (Ref. IEEE Std 829).
  • The process of operating a system or component under specified conditions, observing or recording the results, and making an evaluation of some aspect of the system or component.
Test Bed: An execution environment configured for testing. May consist of specific hardware, OS, network topology, configuration of the product under test, other application or system software, etc. The Test Plan for a project should enumerated the test beds(s) to be used.

Test Case: 
  • Test Case is a commonly used term for a specific test. This is usually the smallest unit of testing. A Test Case will consist of information such as requirements testing, test steps, verification steps, prerequisites, outputs, test environment, etc.
  • A set of inputs, execution preconditions, and expected outcomes developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.
Test Driven Development: Testing methodology associated with Agile Programming in which every chunk of code is covered by unit tests, which must all pass all the time, in an effort to eliminate unit-level and regression bugs during development. Practitioners of TDD write a lot of tests, i.e. an equal number of lines of test code to the size of the production code. 

Test Driver: A program or test tool used to execute a tests. Also known as a Test Harness. 

Test Environment: The hardware and software environment in which tests will be run, and any other software with which the software under test interacts when under test including stubs and test drivers. 

Test First Design: Test-first design is one of the mandatory practices of Extreme Programming (XP).It requires that programmers do not write any production code until they have first written a unit test. 

Test Harness: A program or test tool used to execute a tests. Also known as a Test Driver. 

Test Plan: A document describing the scope, approach, resources, and schedule of intended testing activities. It identifies test items, the features to be tested, the testing tasks, who will do each task, and any risks requiring contingency planning. Ref IEEE Std 829. 

Test Procedure: A document providing detailed instructions for the execution of one or more test cases

Test Scenario: Definition of a set of test cases or test scripts and the sequence in which they are to be executed. 

Test Script: Commonly used to refer to the instructions for a particular test that will be carried out by an automated test tool. 

Test Specification: A document specifying the test approach for a software feature or combination or features and the inputs, predicted results and execution conditions for the associated tests. 

Test Suite: A collection of tests used to validate the behavior of a product. The scope of a Test Suite varies from organization to organization. There may be several Test Suites for a particular product for example. In most cases however a Test Suite is a high level concept, grouping together hundreds or thousands of tests related by what they are intended to test. 

Test Tools: Computer programs used in the testing of a system, a component of the system, or its documentation. 

Thread Testing: A variation of top-down testing where the progressive integration of components follows the implementation of subsets of the requirements, as opposed to the integration of components by successively lower levels. 

Top Down Testing: An approach to integration testing where the component at the top of the component hierarchy is tested first, with lower level components being simulated by stubs. Tested components are then used to test lower level components. The process is repeated until the lowest level components have been tested. 

Total Quality Management: A company commitment to develop a process that achieves high quality product and customer satisfaction. 

Traceability Matrix: A document showing the relationship between Test Requirements and Test Cases. 

Usability Testing: Testing the ease with which users can learn and use a product. 

Use Case: The specification of tests that are conducted from the end-user perspective. Use cases tend to focus on operating software as an end-user would conduct their day-to-day activities. 

User Acceptance Testing: A formal product evaluation performed by a customer as a condition of purchase. 

Unit Testing: Testing of individual software components. 

Validation: The process of evaluating software at the end of the software development process to ensure compliance with software requirements. The techniques for validation is testing, inspection and reviewing. 

Verification: The process of determining whether of not the products of a given phase of the software development cycle meet the implementation steps and can be traced to the incoming objectives established during the previous phase. The techniques for verification are testing, inspection and reviewing. 

Volume Testing: Testing which confirms that any values that may become large over time (such as accumulated counts, logs, and data files), can be accommodated by the program and will not cause the program to stop working or degrade its operation in any manner. 

Walkthrough: A review of requirements, designs or code characterized by the author of the material under review guiding the progression of the review. 

White Box Testing: Testing based on an analysis of internal workings and structure of a piece of software. Includes techniques such as Branch Testing and Path Testing. Also known as Structural Testing andGlass Box Testing. Contrast with Black Box Testing

Workflow Testing: Scripted end-to-end testing which duplicates specific workflows which are expected to be utilized by the end-user. 

QTP Interview Questions and Answers