Tuesday, January 12, 2010

Software QA Testing Interview Questions

Why testing? 
Testing helps to, quality of software can be measured. Testing helps to find defects in software product from different point of views. Testing gives confidence about software's quality,

Are you familiar with any Defect Tracking Tool?
In past I have used Quality Center which is a very popular tool from HP. I have used it to plan my testing, to write test cases and loading it to test lab based on testing scenarios. I have experienced using MS Product Studio and MS Team Foundation and One open source tool call Bug Tracker.

Have you ever written a Test Plan?
I have written short UAT test plan in past. This was focused on how to conduct UAT. It had features like UAT Prerequisites, Participant and there Roles and testing responsibilities, Schedule, Featured to be tested, Pass/ Fail Criteria, and signing of activities. And I have contributed in some parts of Master test plan.

Have you ever written Test Case?
I have written different kind of test cases in past based on the requirement and communication with other related team members. I have also written some scenario based User stories as well.


Tell me about your experience on different level of testing .
There are many different ways and levels to test software based on project SDLC. It is always confusing. Tell same this what you have written in resume. But don't miss these
Integration Testing.
System Testing:
System testing one of the major level testing that cannot be bypass. During this level of testing, a QA tests system as a whole and verifies it works as expected. There are some specific types of testing that can be during during system level testing. some are : Recovery testing :( how well the system recovers the failure.) Security Testing : (capability of system to defend itself ), Load & Stress Testing (System is capable to handle maximum load and figure out the extreme load points), Performance Testing (determine the processing speed)Installation Testing (Installation & uninstallation is checked out in the target platform.)
Regression Testing
Acceptance Testing

What is Scenario based Testing ?
A scenario is a hypothetical story, used to help a person think through a complex problem or system. Scenarios are used to describe the functionality and behavior of a (software) system in a user-centered perspective. As scenarios form a kind of abstract level test cases for the system under development.Scenarios cover a number of steps/cases. In Test Director, after completing writing test cases, a tester can create test sets adding possible test case in it to make a test scenerio. Test suites and scenarios can be used in concert for complete system tests. How to create a scenerio; The scenario creation procedure:
Find all actors (roles played by persons/external systems) interacting with the system.
Find all (relevant system external) events.
Determine inputs, results and output of the system.
Determine system boundaries.
Create coarse overview scenarios (instance or type scenarios on business process or task level).
Prioritize scenarios according to importance, assure that the scenarios cover system functionality
Create a step-by-step description of events and actions for each scenario (task level).
Create an overview diagram and a dependency chart.
Have users review and comment on the scenarios and diagrams.
Extend scenarios by refining the scenario description, break down tasks to single working steps.
Model alternative flows of actions, specify exceptions and how to react to exceptions.
Factor out abstract scenarios (sequences of interactions appearing in more than one scenario).
Include non-functional (performance) requirements and qualities in scenarios.(if in scope)
Have users check and validate the scenarios (Formal reviews)
(This answer is enough to answer in interview. To learn more about it go to
Here In this Kaner, has explained in detail.

When Does Testing Stop?
Testing might stop when Deadline has been met.
Testing comes to a halt when the budget has been exhausted.
Testing might stop when all test cases have been run or when a predetermined percentages have been passed
Testing might stop when a cettain coverage % is made.
Testing might stop when bug rate, severity/priority falls to comfortable zone.

What is Test Matrix?
Data collection mechanism. Tt provideas a stricture way of testing the effects of combining variables, events or hardware. Table’s row and columns head describes the test conditions where cells keeps the execution result.

Tell me about test process or fundamental test process.
Test planning:
It starts with Test Planning phase. The main activities in this phase are defining the objectives of test and creating on the high level testing approach.
Test Analysis and design:
General testing objectives and high level design are transformed into detail  test conditions, test cases and test deliverable. Other major tasks during this phase are prioritizing the test, designing detail test cases, gathering required test data, identifying tool, infrastructure required for test, designing and setting up test environment, creating requirement traceability matrix.
Test execution:
Creating, running, and managing test suites based on priority, updating test data, updating test cases, automation scripts creation(if necessary), logging  test results and many more activities.
Exit criteria evaluation and reporting:
Evaluating the pre-defined exit criteria are met or not, assessing if more testing is required for this level of testing and ready to move to next level or not, or any change in exit criteria is necessary. Creating an test summary report.
Test closure :
Usually happens when software is ready for release or certain milestone has been achieved, a test project is completed. Some major test closure activities are: checking the deliverables are ready or not, reviewing and taking appropriate action to open bugs, handling over project to maintenance/production, documenting acceptance test plan, documenting lesson learned for future test purpose.



QA Technical Interview Questions

QA Technical Interview Questions:

What is Protocol?
Protocol is defined as the format or rules of transmitting the data. When two or more computers communicate in Internet, they must have a common way in which to communicate. They use protocol to do it. Simply, protocol is an agreement by which two or more computers can communicate.

What is HTML?
HTML Stands for Hyper Text Mark-up Language is a mark up language for describing a web page. HTML defines the syntax and placement tag of web page.

What is a HTML tag?
HTML markup tags are usually called HTML tags. The basic structure of an HTML document includes tags, which surround content and apply meaning to it. HTML tags are keywords surrounded by angle brackets like . HTML tags normally come in pairs like and
The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags

What is an attribute?
In general, an attribute is a property or characteristic of tag.. Attributes are properties that extend or refine the tag’s functions. In HTML, Attributes are added within a tag to extend or modify the tags’ action.
What are properties?How page elements (whether it is heading or a block of codes) should be displayed in page is describe by property. Two main section of selector are selector and value.
o Selector {property:value}

What is an Element?
An element is anything that you define with XHTML tags.
Tags tend not to do much more than mark the beginning and end of an element. Elements are the bits that make up web pages. You would say, for example, that everything that is in-between and includes the and tags is the body element. As another example, whereas '' are tags, '' is a title element.

What is Function?
A function is a rule which relates the values of one variable quantity to the values of another variable quantity. A function contains code that will be executed by an event or by a call to the function. You may call a function from anywhere within a page (or even from other pages if the function is embedded in an external .js file).
Functions can be defined both in the and in the section of a document. However, to assure that a function is read/loaded by the browser before it is called, it could be wise to put functions in the section

What is OOP?
Object oriented programming is a technique for programming – a paradigm for writing ‘‘good’’ programs for a set of problems. OOP is programming which is oriented around objects, thus taking advantage of Encapsulation, Polymorphism, and Inheritance to increase code reuse and decrease code maintenance.
Object Oriented Programming enables you to put data and functions in one container. This container is referred to as an object. An object enables you to model your application as closely as possible to the real world

What is an object?
An object is contains methods and attributes and data that work together. Objects are usually grouped into classes. A class contains objects that all have the same operations or methods behaving in the same way and attributes or properties representing the same things.
OBJECT-ORIENTATION is a set of tools and methods that enable software engineers to build reliable, user friendly, maintainable, well documented, reusable software systems that fulfills the requirements of its users

What is Java Script?
JavaScript is a client-side language that adds interactivity and conditional behavior to a web page. With java script you can display additional information about links, create mouse hover effects, change the contents of the page based on certain condition. JavaScript works with HTML to bring interactivity to otherwise static documents.
Java Script can be embedded inside HTML documents in three ways. -The code is placed between tags. -Code is included inside an HTML tag. -The entire code is placed in another file, which is called through the SRC.

What is ASP.NET?
ASP.NET is a web application framework. A Web server technology for dynamically rendering HTML pages using a combination of HTML, Javascript, CSS, and server-side logic.

What is Web Service?
Web services allow different applications from different sources to communicate with each other. The standard XML technologies normally used in web services include SOAP, WSDL, UDDI and XSD. Web services are not tied to any one operating system or programming language. For example, Java can talk with Perl, Windows applications can talk with UNIX applications

What is API?
An API,.. 'application programming interface' is a way for website or service to talk to another website or service. APIs let you mix information and media from other services into your own site or application.
Example: The Blogger Data API allows client applications to view and update Blogger content. Your client application can use the Data API to create new blog posts, edit or delete existing posts, and query for posts that match particular criteria. API uses Protocol and technologies like SOAP, JavaScript, and XML

What is CSS?
CSS is a web page styling language that describes how to present certain element in a web page. It works together with HTML.
In a big picture, a web site or a web page consists of Source code in HTML tags and style sheet. The source code defines how the page will look in a Web browser The rendered page shows only the content, organized and structured as indicated by the tags. CSS is separate and defines the element's style. Stylistic properties are about how the element looks, such as its size, position, color, and font. Web developers can design page lay out, sizing and positioning of elements, with the help of CSS.

What is .NET?
The .NET Framework is Microsoft's application development platform that enables developers to easily create Windows applications, web applications, and web services using a myriad of different programming languages, and without having to worry about low-level details like memory management and processor-specific instructions.

What is Virtual Server?
Virtual Server is a server application that enables users to run a range of OS, environment simultaneously on a single physical server. From testing perspective it is very useful to create quick test environment with different configurations value. Once test is completed, tester can discard that environment and can go to base line environment and create new environment for other testing. My experience is with Installation and deployment environment. I had created a baseline environment to testing installation MSI, after running MSI once, it was not possible for me to delete everything manually such as folder, register key…….. but With the help of virtual server I can discard go back to my baseline environments in no time and I am ready to test next build. Microsoft Virtual Server 2005 R2

Wednesday, December 30, 2009

Tell me about yourself

Tell me about yourself
A software test professional with about .....of years of manual testing experience in different project and technological environment. During that time I wrote testing documents and conducted different kind testing for web and window based application. My personality is easy going and easy to get along with. Currently I am doing(study, work) ............................... Am looking for an opportunity where I can apply my past testing experience and knowledge I gained form classes at ....
OR (long)
This is a most common, important, and crucial for each and every interview. Because this is the first question you have to answer. So, I personally suggest to prepare a script for best performance and practice at least couple of times looking at mirror to make interview in your advantage. First, provide a brief overview of your most relevant experience, focus on your recent project, and most important project from job requirement point of view. Second, highlight education and personal qualities. Focus on your personal interest on this particular job (Why? -matching skill set, love for technology. growth opportunity)"I'm a QA engineer with expertise and skills in .NET, QTP, UNIX and, Apache, White box, black box, manual as well as automation. My most recent experience .................before that .....My industry experience encompasses the telecommunication health and, loan industries. My background also includes roles as QA engineer at ABA , QA Analyst (position title) and, ,....... I am (CSTE, ASTQB) certified and graduated from.. (Boston University). Colleagues from past describe me as Team player, easy going person and detail oriented , and, supervisor describes me as a dependable, goal oriented. They remember me for positive attitude and energy.

Wednesday, June 3, 2009

An introduction to 'vi' Editor

vi editor (Visual Editor) is a default editor comes with most of UNIX operating system. vi editor had two mode
1. Command mode - cause action to be taken on the file. Once file is opened, you are in command mode.
2. Insert mode - entered text is inserted into the file.

Some commands:

Starting vi and saving file:
To use vi on a file, type in vi filename. If the file named filename exists, then the first page (or screen) of the file will be displayed; if the file does not exist, then an empty file and screen are created into which you may enter text
vi filename - start editing filename, create it if necessary

Usually the new or modified file is saved when you leave vi. However, it is also possible to quit vi without saving the file.
:wq - Write the file (save) and Quit.
:q! - quit without saving any changes.
:w! newfile - write all lines from the entire current file into the file 'newfile', overwriting any existing newfile.
:n,m w! newfile - write the lines from n to m, inclusive, into the file newfile, overwriting any existing newfile

Moving the Cursor :
h - one space left/also try left arrow)
j - one line down (also try down arrow)
k - one line up (also try up arrow)
l - one space to the right (also try right arrow)
$ - end of current line
^ - beginning of current line.
Enter - beginning first word on the next line.
G - end of file.
:n - line n; use :0 to move the beginning of the file .
w - beginning of next word; 5w moves to the beginning of the 5th word to the right .
e - end of next word
b - beginning of previous word
Ctrl-b - one page up
Ctrl-f - one page down
% - the matching (, ), [, ], {, or } (Press % with your cursor on one of these characters to move your cursor its mate.)

Searching for Text :
/string - search down for string.
?string - search up for string.
n - repeat last search from present position

Inserting Text:
a - append starting right of cursor
A - append at the end of the current line
i - insert starting left of cursor
I - insert at beginning of the current line
o - open line below cursor, then enter insert mode
O - open line above cursor, then enter insert mode
:r newfile - add the contents of the file newfile starting below the current lin

Deleting Text :
x - delete single character; 5x deletes 5 characters
dw - delete word; 5dw deletes 5 words
dd - delete line; 5dd deletes ... well you get the idea!
cw - delete word, leaves you in insert mode (i.e. change word)
cc - change line -- delete line and start insert mode
s - change character -- delete character and start insert mode
D - delete from cursor to end of line
C - change from cursor to end of line -- delete and start insert mode
u - undo last change
U - undo all changes to current line
J - join current line with line that follows (press Enter in insert mode to split line)

Cutting and Pasting:
xp - transpose two characters (two commands, x followed by p)
yy - yank (i.e. copy) one line into a general buffer (5yy to yank 5 lines)
"ayy - yank into the buffer named a
P - put the general buffer back before the current line
"aP - put from buffer a before current line
p - put the general buffer back after the current line
"ap- put from buffer a after the current line
While there are a number of vi commands, just a handful of these is usually sufficient for a QA Tester/Engineer. Lets focus on some commands that is useful for a tester's daily use.

cat
to open a text file for viewing