testinganswers.com

Month: April 2012

Quality Assurance and Quality Control

Explain: a.) Quality Assurance b.) Quality Control c.) Test Case d.) Test Condition e.) Test Script f.) Test Data g.) Test Bed a.) Quality Assurance Quality assurance is an activity that establishes and evaluates the processes that produce products. Quality assurance would measure processes to identify weaknesses and then correct them to continually improve the process: Eg. Code review. b.) Quality Control Quality control is a process in which the product’s quality is compared with standards and corrective actions taken if required. Quality control activities focus on identifying defects in the actual products produced. Eg. Testing. c.) Test Case A Read More

how to perform Risk Analysis

Describe how to perform Risk Analysis during software testing. While a test plan is being created, risks involved in testing the product are to be taken into consideration along with possibility of their occurrence and the damage they may cause along with solutions; if any. Detailed study of this is called as Risk Analysis. Some of the risks could be: New Hardware New Technology New Automation Tool Sequence of code delivery Availability of application test resources Identify and describe the risk magnitude indicators: High, Medium and Low High magnitude means the effect of the risk would be very high and Read More

Difference between build and release

What is the difference between build and release? A “build” is given by dev team to the test team. A “release” is formal release of the product to its customers.A build when tested and certified by the test team is given to the customers as “release”. A “build” can be rejected by test team if any of the tests fail or it does not meet certain requirements. One release can have several builds associated with it. How do you differentiate the roles of Quality Assurance Manager and Project Manager? Quality Assurance Manager (QA Manager) defines the process to be followed Read More

What’s the role of CMM Level in Testing?

What’s the role of CMM Level in Testing? Capability Maturity Model (CMM) is a model of 5 levels of process ‘maturity’ that determine effectiveness in delivering quality software. The 5 levels of CMM are described as below:Level 1: Initial: – characterized by chaos, periodic panics, and heroic efforts required by individuals to successfully complete projects. Very few or none of the processes are in place.Level 2: Repeatable: – Software Project Tracking, Requirements Management, Realistic Planning and Configuration Management Processes are in place; successful practices can be repeated. Level 3: Defined: – Standard Software Development and Maintenance Processes are integrated throughout Read More

How do you develop a test plan and schedule?

How do you develop a test plan and schedule? Describe bottom-up and top-down approaches. A test plan is contract between the testers and the project team describing the role of testing in the project. The purpose of test plan is to prescribe the scope, approach, resources and schedule of the testing activities. To identify items being tested, the feature to be tested, the testing task to be performed, the personnel responsible for each task and the risks associated with the plan. From this, it is imperative that test plan is made by taking inputs from the product development team, keeping Read More

Bug leakage and bug release

What is “bug leakage?” and what is “bug release?” A bug leakage results when a bug is detected which should have been detected in earlier builds/versions of the application.A defect which exists during testing yet unfound by the tester which is eventually found by the tester/end-user is also called bug leakage.A bug release is when a particular version of s/w is released with a set of known bug(s)/defect(s). These bugs are usually low severity and/or low priority bugs. It is done when the company can afford the existence of bug in the released s/w rather than the time/cost for fixing Read More

Testing – Key challenges of software testing

What are the key challenges of software testing? Key Challenges of s/w testing:1. Testing considered late in project2. Requirements not testable3. Integration is done after all components have been developed: This might result into full testing not being covered.4. Complete testing is not possible What are the roles of glass-box and black-box testing tools? Glass Box (or white box) testing is the process of giving i/p to the system and checking how the system processes i/p to generate o/pBlack Box testing is the process of giving i/p to the system and checking if the system is giving correct o/p without Read More

common problems with software automation

What are the common problems with software automation? The biggest concern is the cost incurred for test automation. Also, often s/w test automation requires skilled personnel and authentic test automation tools. Purchasing license of such tools is a costly affair.Also the time required for test automation is more. Automation often requires recording the sequence of operations you need to perform in order to execute a particular test case and comparing the final o/p with the expected o/p. Functions/macros need also be written sometimes for some test cases. All this could be a time consuming job. What are the parameters of Read More

How to read XML file from QTP

I’m going to show how to parse XML file and read its values from QTP (QuickTest Professional).For example, we will use this XML file: This XML file describes a bookstore and books located there.  Note: You can download this XML file here. I will use Microsoft’s XML Parser also known as Microsoft.XMLDOM. This XML parser allows running XPath queries. The loading of XML file in QTP is simple enough: Const XMLDataFile = “C:TestData.xml” Set xmlDoc = CreateObject(“Microsoft.XMLDOM”) xmlDoc.Async = False xmlDoc.Load(XMLDataFile) Several comments on this code: Microsoft.XMLDOM is a name of COM object of Microsoft’s XML parser Async is a property of Microsoft.XMLDOM. The property specifies whether asynchronous download of the document is Read More