Friday, November 9, 2007

Software Testing Interview Questions

How can it be known when to stop testing?

This can be difficult to determine. Many modern software applications are so complex, and run in such an interdependent environment, that complete testing can never be performed. Common factors in deciding when to stop are:

• Deadlines achieved (release deadlines, testing deadlines, etc.

• Test cases completed with certain percentage passed

• Test budget depleted

• Coverage of code/functionality/requirements reaches a specified point

• Defect rate falls below a certain level

• Beta or Alpha testing period ends


 

What if there isn't enough time for thorough testing?

Use risk analysis to determine where testing should be focused. Figure out which functionality is most important to the project's intended purpose?

Which functionality is most visible to the user?

Which functionality has the largest safety impact?

Which functionality has the largest financial impact on users?

Which aspects of the application are most important to the customer?

Which aspects of the application can be tested early in the development cycle? Which parts of the code are most complex, and thus most subject to errors?

What do the developers think are the highest-risk aspects of the application?

Which tests will have the best high-risk-coverage to time-required ratio?

What if the software has so many bugs that it can't really be tested at all?

Since this type of problem can severely affect schedules, and indicates deeper problems in the software development process (such as insufficient unit testing or insufficient integration testing, poor design, improper build or release procedures, etc.) managers should be notified, and provided with some documentation as evidence of the problem


 

If you need more "Jobs" / "Placement Papers" Click & Subscribe now at http://finance.groups.yahoo.com/group/onestop_jobs/


 

How does a client/server environment affect testing?

Client/server applications can be quite complex due to the multiple dependencies among clients, data communications, hardware, and servers. Thus testing requirements can be extensive. When time is limited (as it usually is) the focus should be on integration and system testing. Additionally, load/stress/performance testing may be useful in determining client/server application limitations and capabilities.

Does it matter how much the software has been tested already?

No. It is up to the tester to decide how much to test it before it is tested. An initial assessment of the software is made, and it will be classified into one of three possible stability levels:

• Low stability (bugs are expected to be easy to find, indicating that the program has not been tested or has only been very lightly tested)

• Normal stability (normal level of bugs, indicating a normal amount of programmer testing)

• High stability (bugs are expected to be difficult to find, indicating already well tested)

How is testing affected by object-oriented designs?

Well-engineered object-oriented design can make it easier to trace from code to internal design to functional design to requirements. While there will be little affect on black box testing (where an understanding of the internal design of the application is unnecessary), white-box testing can be oriented to the application's objects. If the application was well designed this can simplify test design.


 

Will automated testing tools make testing easier?

A tool set that allows controlled access to all test assets promoted better communication between all the team members, and will ultimately break down the walls that have traditionally existed between various groups.

Automated testing tools are only one part of a unique solution to achieving customer success. The complete solution is based on providing the user with principles, tools, and services needed to efficiently develop software.


 

Why outsource testing?

Skill and Expertise Developing and maintaining a team that has the expertise to thoroughly test complex and large applications is expensive and effort intensive. - Testing a software application now involves a variety of skills.


 

Focus - Using a dedicated and expert test team frees the development team to focus on sharpening their core skills in design and development, in their domain areas.


 

Independent assessment - Independent test team looks afresh at each test project while bringing with them the experience of earlier test assignments, for different clients, on multiple platforms and across different domain areas.


 

Save time - Testing can go in parallel with the software development life cycle to minimize the time needed to develop the software.


 

Reduce Cost - Outsourcing testing offers the flexibility of having a large test team, only when needed. This reduces the carrying costs and at the same time reduces the ramp up time and costs associated with hiring and training temporary personnel.


 

If you need more "Jobs" / "Placement Papers" Click & Subscribe now at http://finance.groups.yahoo.com/group/onestop_jobs/


 


 

What steps are needed to develop and run software tests?

The following are some of the steps needed to develop and run software tests:

• Obtain requirements, functional design, and internal design specifications and other necessary documents

• Obtain budget and schedule requirements

• Determine project-related personnel and their responsibilities, reporting requirements, required standards and processes (such as release processes, change processes, etc.)

• Identify application's higher-risk aspects, set priorities, and determine scope and limitations of tests

• Determine test approaches and methods - unit, integration, functional, system, load, usability tests, etc.

• Determine test environment requirements (hardware, software, communications, etc.)

• Determine test-ware requirements (record/playback tools, coverage analyzers, test tracking, problem/bug tracking, etc.)

• Determine test input data requirements Identify tasks, those responsible for tasks, and labor requirements

• Set schedule estimates, timelines, milestones

• Determine input equivalence classes, boundary value analyses, error classes Prepare test plan document and have needed reviews/approvals

• Write test cases

• Have needed reviews/inspections/approvals of test cases

• Prepare test environment and test ware, obtain needed user manuals/reference documents/configuration guides/installation guides, set up test tracking processes, set up logging and archiving processes, set up or obtain test input data

• Obtain and install software releases

• Perform tests

• Evaluate and report results

• Track problems/bugs and fixes

• Retest as needed

Maintain and update test plans, test cases, test environment, and test ware through life cycle


 

What is Software Testing ?


 

Testing is a process used to help identify the correctness, completeness and quality of developed computer software. With that in mind, testing can never completely establish the correctness of computer software.In other words Testing is nothing but CRITICISM or COMPARISION.Here comparison in the sense comparing the actual value with expected one.


 

There are many approaches to software testing, but effective testing of complex products is essentially a process of investigation, not merely a matter of creating and following rote procedure. One definition of testing is "the process of questioning a product in order to evaluate it", where the "questions" are things the tester tries to do with the product, and the product answers with its behavior in reaction to the probing of the tester. Although most of the intellectual processes of testing are nearly identical to that of review or inspection, the word testing is connoted to mean the dynamic analysis of the product—putting the product through its paces.


 

The quality of the application can and normally does vary widely from system to system but some of the common quality attributes include reliability, stability, portability, maintainability and usability. Refer to the ISO standard ISO 9126 for a more complete list of attributes and criteria.


 

If you need more "Jobs" / "Placement Papers" Click & Subscribe now at http://finance.groups.yahoo.com/group/onestop_jobs/


 

Software testing is a crucial step in the development of any application. Unfortunately, time is not often on the side of the software testing squad. Fighting inflexible time frames and ship dates that have been set in stone by forces outside the development team, the software testers slog on to the deadline, with the honorable goal of finding and documenting every bug. I've been on a good number of outside software testing teams over the years ... and it always seems to go the same way.


 

No matter the program, the beta testers find something that they feel needs to get fixed before the disc goes gold. Alas, there's never time to fix all the bugs, and the program gets shipped, warts and all. In a triage scenario, veteran software testers know that it's inevitable that something has to slip through. They just hope that the most heinous nasties are squashed before the final release candidate.


 

Once the program ships, it doesn't take long for the user base to find the bugs. The unwitting and most vocal can tend to blame the Quality Assurance team and the beta software testing effort. "Why didn't you find and fix this?" they ask, without having the insight to consider the forces that come to bear.


 

When it's gotta ship, it's gotta ship. Ready-or-not, here it goes ...


 

By the time the shrink wrap hits the street, those last minute bugs may actually be fixed ... but the fixes won't be on the CD that shipped in the first boxes. They may be slipstreamed into subsequent releases, with patches made available over the Internet.


 

As a user (and a grizzled software tester), I've learned not to immediately jump on and install a release the day it comes out, when possible. I usually wait for the first round of fixes to ship before I roll the dice ...

If you need more "Jobs" / "Placement Papers" Click & Subscribe now at http://finance.groups.yahoo.com/group/onestop_jobs/