Monday, March 3, 2008

Testing Defn's

What's the Software Testing ?

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

What is the Purpose of Testing ?

To check whether system is meeting requirement.

What is the need for testing ?

To Make error Free Product and Reduce Development Cost.

What is the Outcome of Testing ?

System which is bug free and meet the system requirements.

When to start and Stop Testing ?

When system meets the requirement and there is no change in functionality.

After completing testing, what would you deliver to the client ?

Bug free product.

How many types of testing?

There are two types of testing-
* Functional- Black Box Testing
* Structural- white Box Testing

What is 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. or Black Box Testing.

What is Structural Testing ?

Testing that takes into account the internal mechanism [structure] of a system or component. Types include branch testing, path testing, statement testing. or White box testing.

What's the Black Box testing ?

Black Box testing is not based on any knowledge of internal logic.

What's the White Box testing ?

White Box testing is based on knowledge of internal logic.

What is 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.

What are the three techniques of Black Box testing ?

Three techniques are-
*.Equivalence Partitioning
*.Boundry Value Analysis
*.Error guessing

What is Equivalence Partitioning ?

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

What's the Boundry Value Analysis ?

Boundry Valuse Analysis is a test data selection technique in whice values are choosen maximum, minimum, just inside, just outside boundries, typical values, and error values. The hope is then if software work correctly for these values then it's will works for all values in between.

What`s the Error guessing ?

A test case design technique where the experience of the tester is used to postulate what faults exist, and to design tests specially to expose them.

What are the various levels of testing ?

Unit,Integration,System and Acceptance testing.

What's the Unit Testing ?

Testing of individual component of software.

What's the Integration Testing ?

In Integration Testing, we can test combined parts of application to determine if they work together correctly.

How many types of approaches are used in Integration Testing ?

There are two types of approaches used-
* Bottom-Up
* Top-Down

What's the Bottom-up Testing ?

An approach to integration testing where the lowest level component are tested first.

What's the Top-Down testing ?

An approach to integration testing where the top level component are tested first.

What's the System Testing ?

System Testing is third level of Testing In this level we check Functionility of application.

What's the Acceptance Testing ?

A testing conducted to enable a user or customer to determine whether to accept a software project.

Why do you go for White box testing, when Black box testing is available ?

To check code, branches and loops in code.

What types of testing do testers perform ?

Black Box & White Box testing.

Can Automation testing replace manual testing ? If it so, how ?

Yes, if there are many modifications in functionality and it is near impossible to update the automated scripts.

What are the entry criteria for Automation testing ?

Should have stable code.

Who's the good software engineer ?

A good software engineer has "test to break" attitude, an ability to take the point of view of the customers, and strong quality desire.

What are the Qualities of a Tester ?

Should have ability of find out hidden bug as early as possible in SDLC.

What is 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. (or) Bug presentation activity is called QA.

What is 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.

What is 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.

What is Quality Control ?

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

What is Quality Management ?

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

What is Quality Policy ?

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

What's Ad Hoc Testing ?

A testing where the tester tries to break the software by randomly trying functionality of software.

What's the Accessibility Testing ?

Testing that determines if software will be usable by people with disabilities.

What's the Alpha Testing ?

The Alpha Testing is conducted at the developer sites and in a controlled environment by the end user of the software

What's the Beta Testing ?

Testing the application after the installation at the client place.

What is Component Testing ?

Testing of individual software components (Unit Testing).

What's Compatibility Testing ?

In Compatibility testing we can test that software is compatible with other elements of system.

What is 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.

What is 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.

What is 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.

What is 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.

What is Conversion Testing ?

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

What is Dependency Testing ?

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

What is Depth Testing ?

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

What is Dynamic Testing ?

Testing software through executing it. See also Static Testing.

What is Endurance Testing ?

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

What is 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.

What is Exhaustive Testing ?

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

What is Gorilla Testing ?

Testing one particular module, functionality heavily.

What is 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.

What is Localization Testing ?

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

What is Loop Testing ?

A white box testing technique that exercises program loops.

What is Mutation Testing ?

Mutation testing is a method for determining if a set of test data or test cases is useful, by deliberately introducing various code changes ('bugs') and retesting with the original test data/cases to determine if the 'bugs' are detected. Proper implementation requires large computational resources

What is 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.

What is Positive Testing ?

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

What is Negative Testing ?

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

What is Path Testing ?

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

What is 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".

What is Ramp Testing ?

Continuously raising an input signal until the system breaks down.

What is 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.

What is the Re-testing testing ?

Retesting- Again testing the functionality of the application.

What is the Regression testing ?

Regression- Check that change in code have not effected the working functionality

What is Sanity Testing ?

Brief test of major functional elements of a piece of software to determine if its basically operational.

What is Scalability Testing ?

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

What is 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.

What is Stress Testing ?

Stress testing is a form of testing that is used to determine the stability of a given system or entity. It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results.

What is 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.

What is 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.

What's the Usability testing ?

Usability testing is for user friendliness.

What's the User acceptance testing ?

User acceptance testing is determining if software is satisfactory to an end-user or customer.

What's the Volume Testing ?

We can perform the Volume testing, where the system is subjected to large volume of data.

What is Quality System ?

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

What is 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.

What is Static Analysis ?

Analysis of a program carried out without executing the program.

What is Component ?

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

What's Coding ?

A generation of source code.

What is 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.

What is 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.

What's the Code Walkthrough ?

Code Walkthrough help in analyzing the coding techniques and if the code is meeting the coding standards.

What's the Code Inspections ?

Code Inspections is formal analysis of the program source code to find defects as defind by meeting system design specifications.

What's the Defect ?

The difference between the functional specification and actual program text.

What's the Defect Tracking ?

Defect tracking is the process of finding bugs in software.

What's the Debugging ?

Debugging is the method of finding and rectifying the cause of software failures.

What is an Inconsistent bug ?

Bug which are not reproducible

What is verification ?

To review the document.

What is validation ?

To validate the system against the requirements.

What is Functional Decomposition ?

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

What is Functional Specification ?

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

What is 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).

What's the Test Tool ?

A computer program that used in testing the systems.

What's the Test Driver ?

A program or test tool used to execute test.

What is the test data ?

The actual values used in the test or that are necessary to execute the test. (or) Input data against which we validate the system.
or
Test Data is the data that you use to execute your Test Cases or while doing Ad-hoc Testing.

What is a Data Guidelines ?

Guidelines which are to be followed for the preparation of test data.

What is Data Dictionary ?

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

What is Cyclomatic Complexity ?

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

What is Emulator ?

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

What's the Test Bed ?

An environment that contain different types of hardware, software, simulator, testing tools, and other support elements that are necessary to conduct a test.

Why do you go for Test Bed ?

To validate the system against the required input.

What is a Test condition ?

logical input data against which we validate the system. (or) A set of circumstances that a test invokes.

What's the Test Scenario ?

It defines a set of test cases or test scripts and the sequences in which they are to be executed.

What's the Test Plan ?

A high level of documents that define the software testing project.

What's the Test Case ?

A set of test inputs, execution, and expected result developed for a particular objective.

What's the Test Log ?

A chronological record of all relevant details about the execution of a test.

What's the Traceability Matrix ?

A document that showing the relationship between Test Requirements and Test Cases.

What is Cause Effect Graph ?

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

What is 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.

What is 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.

What is Software Requirements Specification?

A deliverable that describes all data, functional and behavioral requirements, all constraints, and all validation requirements for software

What is software fault ?

A software fault is a hidden programming error. A software fault fault is an error in the correctness of the semantics of a computer program.

What is software failure ?

Software failure occurs when the software does not do what the user expects to see.

What is parallel/audit testing ?

Parallel/audit testing is testing where the user reconciles the output of the new system to the output of the current system to verify the new system performs the operations correctly.

Who will do white box testing ?

White box testing only done by developer not the tester because white box testing is static as well as dynamic testing.

What is SIT ?

SIT - System Integration Testing - post integration of all the modules/components of the application, SIT is carried out on the integrated application. SIT is carried out to verify the functional requirements are being met or exceeded.

Objective Type Questions

1 : With thorough testing it is possible to remove all defects from a program prior to delivery to the customer.

a. True
b. False

ANSWER : b

2 : Which of the following are characteristics of testable software ?

a. observability
b. simplicity
c. stability
d. all of the above

ANSWER : d

3 : The testing technique that requires devising test cases to demonstrate that each program function is operational is called

a. black-box testing
b. glass-box testing
c. grey-box testing
d. white-box testing

ANSWER : a

4 : The testing technique that requires devising test cases to exercise the internal logic of a software module is called

a. behavioral testing
b. black-box testing
c. grey-box testing
d. white-box testing

ANSWER : d

5 : What types of errors are missed by black-box testing and can be uncovered by white-box testing ?

a. behavioral errors
b. logic errors
c. performance errors
d. typographical errors
e. both b and d

ANSWER : e

6 : Program flow graphs are identical to program flowcharts.

a. True
b. False

ANSWER : b

7 : The cyclomatic complexity metric provides the designer with information regarding the number of

a. cycles in the program
b. errors in the program
c. independent logic paths in the program
d. statements in the program

ANSWER : c

8 : The cyclomatic complexity of a program can be computed directly from a PDL representation of an algorithm without drawing a program flow graph.

a. True
b. False

ANSWER : a

9 : Condition testing is a control structure testing technique where the criteria used to design test cases is that they

a. rely on basis path testing
b. exercise the logical conditions in a program module
c. select test paths based on the locations and uses of variables
d. focus on testing the validity of loop constructs

ANSWER : b

10 : Data flow testing is a control structure testing technique where the criteria used to design test cases is that they

a. rely on basis path testing
b. exercise the logical conditions in a program module
c. select test paths based on the locations and uses of variables
d. focus on testing the validity of loop constructs

ANSWER : c

11 : Loop testing is a control structure testing technique where the criteria used to design test cases is that they

a. rely basis path testing
b. exercise the logical conditions in a program module
c. select test paths based on the locations and uses of variables
d. focus on testing the validity of loop constructs

ANSWER : d

12 : Black-box testing attempts to find errors in which of the following categories

a. incorrect or missing functions
b. interface errors
c. performance errors
d. all of the above
e. none of the above

ANSWER : d

13 : Graph-based testing methods can only be used for object-oriented systems

a. True
b. False

ANSWER : b

14 : Equivalence testing divides the input domain into classes of data from which test cases can be derived to reduce the total number of test cases that must be developed.

a. True
b. False

ANSWER : a

15 : Boundary value analysis can only be used to do white-box testing.

a. True
b. False

ANSWER : b

16 : Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release.

a. True
b. False

ANSWER : b

17 : Orthogonal array testing enables the test designer to maximize the coverage of the test cases devised for relatively small input domains.

a. True
b. False

ANSWER : a

18 : Test case design "in the small" for OO software is driven by the algorithmic detail of
the individual operations.

a. True
b. False

ANSWER : a

19 : Encapsulation of attributes and operations inside objects makes it easy to obtain object state information during testing.

a. True
b. False

ANSWER : b

20 : Use-cases can provide useful input into the design of black-box and state-based tests of OO software.

a. True
b. False

ANSWER : a

21 : Fault-based testing is best reserved for

a. conventional software testing
b. operations and classes that are critical or suspect
c. use-case validation
d. white-box testing of operator algorithms

ANSWER : b

22 : Testing OO class operations is made more difficult by

a. encapsulation
b. inheritance
c. polymorphism
d. both b and c

ANSWER : d

23 : Scenario-based testing

a. concentrates on actor and software interaction
b. misses errors in specifications
c. misses errors in subsystem interactions
d. both a and b

ANSWER : a

24 : Deep structure testing is not designed to

a. examine object behaviors
b. exercise communication mechanisms
c. exercise object dependencies
d. exercise structure observable by the user

ANSWER : d

25 : Random order tests are conducted to exercise different class instance life histories.

a. True
b. False

ANSWER : a

26 : Which of these techniques is not useful for partition testing at the class level

a. attribute-based partitioning
b. category-based partitioning
c. equivalence class partitioning
d. state-based partitioning

ANSWER : c

27 : Multiple class testing is too complex to be tested using random test cases.

a. True
b. False

ANSWER : b

28 : Tests derived from behavioral class models should be based on the

a. data flowdiagram
b. object-relation diagram
c. state diagram
d. use-case diagram

ANSWER : c

29 : Client/server architectures cannot be properly tested because network load is highly variable.

a. True
b. False

ANSWER : b

30 : Real-time applications add a new and potentially difficult element to the testing mix

a. performance
b. reliability
c. security
d. time

ANSWER : d


1. What is the meaning of COSO ?

a. Common Sponsoring Organizations
b. Committee Of Sponsoring Organizations
c. Committee Of Standard Organizations
d. Common Standard Organization
e. None of the above

ANSWER : b

2. Which one is not key term used in internal control and security

a. Threat
b. Risk Control
c. Vulnerability
d. Exposure
e. None

ANSWER : c

3. Management is not responsible for an organization internal control system

a. True
b. False

ANSWER : b

4. Who is ultimate responsible for the internal control system

a. CEO
b. Project Manager
c. Technical Manager
d. Developer
e. Tester

ANSWER : a

5. Who will provide important oversight to the internal control system

a. Board of Directors
b. Audit Committee
c. Accounting Officers
d. Financial Officers
e. both a & b
f. both c & d

ANSWER : e

6. The sole purpose of the Risk Control is to avoid risk

a. True
b. False

ANSWER : b

7. Management controls involves limiting access to computer resources

a. True
b. False

ANSWER : a

8. Software developed by contractors who are not part of the organization is referred to as in sourcing organizations

a. True
b. False

ANSWER : b

9. Which one is not tester responsibilities ?

a. Assure the process for contracting software is adequate
b. Review the adequacy of the contractors test plan
c. Perform acceptance testing on the software
d. Assure the ongoing operation and maintenance of the contracted software
e. None of the above

ANSWER : a

10. The software tester may or may not be involved in the actual acceptance testing

a. True
b. False

ANSWER : a

11. In the client systems, testing should focus on performance and compatibility

a. True
b. False

ANSWER : b

12. A database access applications typically consists of following elements except

a. User Interface code
b. Business login code
c. Data-access service code
d. Data Driven code

ANSWER : d

13. Wireless technologies represent a rapidly emerging area of growth and importance for providing ever-present access to the internet and email.

a. True
b. False

ANSWER : a

14. Acceptance testing involves procedures for identifying acceptance criteria for interim life cycle products and for accepting them.

a. True
b. False

ANSWER : a

15. Acceptance testing is designed whether or not the software is “fit” for the user to use. The concept of “fit” is important in both design and testing. There are four components of “fit”.

a. True
b. False

ANSWER : a

16. Acceptance testing occurs only at the end point of the development process; it should be an ongoing activity that test both interim and final products.

a. True
b. False

ANSWER : b

17. Acceptance requirement that a system must meet can be divided into ________ categories.

a. Two
b. Three
c. Four
d. Five

ANSWER : c

18. _______ categories of testing techniques can be used in acceptance testing.

a. Two
b. Three
c. Four
d. Five

ANSWER : a

19. _____________ define the objectives of the acceptance activities and a plan for meeting them.

a. Project Manager
b. IT Manager
c. Acceptance Manager
d. ICO

ANSWER : c

20. Software Acceptance testing is the last opportunity for the user to examine the software for functional, interface, performance, and quality features prior to the final acceptance review.

a. True
b. False

ANSWER : a

1. _________ categories of data will be collected during testing.

a. Two
b. Three
c. Four
d. Five

ANSWER : c

2. ______________ is normally a reverse of the test development process. In other words, it begins at the very lowest level and the results are rolled up to the highest levels.

a. Conducting testing
b. Resuming testing
c. Acceptance testing
d. None of the above

ANSWER : a

3. Which one is called as most common test report ?

a. Test Summary Report
b. Check List
c. Spreadsheet
d. Cause-Effect Graphing

ANSWER : c

4. Verification that the process deliverables/ phases are meeting the user’s true needs is called as

a. Inspections
b. Reviews
c. Acceptance testing
d. Acceptance criteria

ANSWER : b

5. _____________ the reporting process is very important because software tools are being upgraded, and manual supporting activities sometimes break down.

a. Analyzing
b. Monitoring
c. Both A & B
d. None of the above

ANSWER : b

6. _______________ report provides information related to a specific project component.

a. Individual Project Status Report
b. Major Project Status Report
c. Both A & B
d. None of the Above

ANSWER : b

7. ________________ report provides general information about all projects.

a. Individual Project Status Report
b. Major Project Status Report
c. Both A & B
d. None of the Above

ANSWER : d

8. The Project Status Report contains the project activities information and give a history of the project over a 16-month period.

a. True
b. False

ANSWER : a

9. The test reports are for use by the testers, the test manager, and the software development team.

a. True
b. False

ANSWER : a

10. _________ is a risk-oriented activity in which resources should be expended to minimize the major risks.

a. Testing
b. Development
c. Quality Control
d. Quality Assurance

ANSWER : a

12. _______________ measure the characteristics of the documentation and code.

a. Process metric
b. Product metric
c. Software quality metric
d. Software metric

ANSWER : b

WinRunner

Which scripting language used by WinRunner ?

WinRunner uses TSL-Test Script Language (Similar to C)

What's the WinRunner ?

WinRunner is Mercury Interactive Functional Testing Tool.

How many types of Run Modes are available in WinRunner ?

WinRunner provide three types of Run Modes.
Verify Mode
Debug Mode
Update Mode

What's the Verify Mode ?

In Verify Mode, WinRunner compare the current result of application to it's expected result.

What's the Debug Mode ?

In Debug Mode, WinRunner track the defects in a test script.

What's the Update Mode?

In Update Mode, WinRunner update the expected results of test script.

How many types of recording modes available in WinRunner ?

WinRunner provides two types of Recording Mode:
Context Sensitive
Analog

What's the Context Sensitive recording ?

WinRunner captures and records the GUI objects, windows, keyboard inputs, and mouse click activities through Context Sensitive Recording.

When Context Sensitive mode is to be chosen ?

a. The application contains GUI objects
b. Does not require exact mouse movements.

What's the Analog recording ?

It captures and records the keyboard inputs, mouse click and mouse movement. It's not captures the GUI objects and Windows.

When Analog mode is to be chosen ?

a. The application contains bitmap areas.
b. Does require exact mouse movements.

What are the components of WinRunner ?

a. Test Window : This is a window where the TSL script is generated/programmed.
b. GUI Spy tool : WinRunner lets you spy on the GUI objets by recording the Properties.

Where are stored Debug Result ?

Debug Results are always saved in debug folder.

What's WinRunner testing process ?

WinRunner involves six main steps in testing process.
Create GUI map
Create Test
Debug Test
Run Test
View Results
Report Defects

What's the GUI SPY ?

You can view the physical properties of objects and windows through GUI SPY.

How many types of modes for organizing GUI map files ?

WinRunner provides two types of modes-
Global GUI map files
Per Test GUI map files

What's the contained in GUI map files ?

GUI map files stored the information, it learns about the GUI objects and windows.

How does WinRunner recognize objects on the application ?

WinRunner recognize objects on the application through GUI map files.

What's the difference between GUI map and GUI map files ?

The GUI map is actually the sum of one or more GUI map files.

How do you view the GUI map content ?

We can view the GUI map content through GUI map editor.

What's the checkpoint ?

Checkpoint enables you to check your application by comparing it's expected results of application to actual results.

What's the Execution Arrow ?

Execution Arrow indicates the line of script being executed.

What's the Insertion Point ?

Insertion point indicates the line of script where you can edit and insert the text.

What's the Synchronization ?

Synchronization is enables you to solve anticipated timing problems between test and application.

What's the Function Generator ?

Function Generator provides the quick and error free way to add TSL function on the test script.

How many types of checkpoints are available in WinRunner ?

WinRunner provides four types of checkpoints-
GUI Checkpoint
Bitmap Checkpoint
Database Checkpoint
Text Checkpoint

What's contained in the Test Script ?

Test Script contained the Test Script Language.

How do you modify the logical name or the physical description of the objects in GUI map ?

We can modify the logical name or the physical description of the objects through GUI map editor.

What are the Data Driven Test ?

When you want to test your application, you may want to check how it performance same operation with the multiple sets of data.

How do you record a Data Driven Test ?

We can create a Data Driven Test through Flat Files, Data Tables, and Database.

How do you clear a GUI map files ?

We can clear the GUI map files through "CLEAR ALL" option.

What are the steps of creating a Data Driven Test ?

Data Driven Testing have four steps-
Creating test
Converting into Data Driven Test
Run Test
Analyze test

What is Rapid Test Script Wizard ?

It performs two tasks.
a. It systematically opens the windows in your application and learns a description of every GUI object. The wizard stores this information in a GUI map file.
b. It automatically generates tests base on the information it learned as it navigated through the application.

What are the different modes in learning an application under Rapid test script wizard ?

a. Express
b. Comprehensive.

What's the extension of GUI map files ?

GUI map files extension is ".gui".

What statement generated by WinRunner when you check any objects ?

Obj_check_gui statement.

What statement generated by WinRunner when you check any windows ?

Win_check_gui statement

What statement generated by WinRunner when you check any bitmap image over the objects ?

Obj_check_bitmap statement

What statement generated by WinRunner when you check any bitmap image over the windows ?

Win_check_bitmap statement

What statement used by WinRunner in Batch Testing ?

"Call" statement.

Which short key is used to freeze the GUI Spy ?

"Ctrl+F3"

How many types of parameter used by WinRunner ?

WinRunner provides three types of Parameter-
Test
Data Driven
Dynamic

How many types of Merging used by WinRunner ?

WinRunner used two types of Merging-
Auto
Manual

What's the Virtual Objects Wizard ?

Whenever WinRunner is not able to read an objects as an objects then it uses the Virtual Objects Wizard.

How do you handle unexpected events and errors ?

WinRunner uses the Exception Handling function to handle unexpected events and errors.

How do you comment your script ?

We comment script or line of the script by inserting "#" at the beginning of script line.

What's the purpose of the Set_Windows command ?

Set_Window command set the focus to the specified windows.

How you created your test script ?

Programming.

What's a command to invoke application?

Invoke_application

What do you mean by the logical name of objects ?

Logical name of an objects is determined by it's class but in most cases, the logical name is the label that appear on an objects.

How many types of GUI checkpoints ?

In Winrunner, three types of GUI checkpoints-
For Single Properties
For Objects/Windows
For Multiple Objects

How many types of Bitmap Checkpoints ?

In Winrunner, two types of Bitmap Checkpoints-
For Objects/Windows
For Screen Area

How many types of Database Checkpoints ?

In Winrunner, three types of Database Checkpoints-
Default Check
Custom Check
Runtime Record Check

How many types of Text Checkpoints ?

In Winrunner, four types of Text Checkpoints-
For Objects/Windows
From Screen Area
From Selection (Web Only)
Web text Checkpoints

What add-ins are available for WinRunner ?

Add-ins are available for Java, ActiveX, WebTest, Siebel, Baan, Stingray, Delphi, Terminal Emulator, Forte, NSDK/Natstar, Oracle and PowerBuilder.

Notes:

* Winrunner generates menu_select_item statement whenever you select any menu items.
* Winrunner generates set_window statement whenever you begin working in new window.
* Winrunner generates edit_set statement whenever you enter keyboard inputs.
* Winrunner generates obj_mouse_click statement whenever you click any object through mouse pointer.
* Winrunner generates obj_wait_bitmap or win_wait_bitmap statements whenever you synchronize the script through objects or windows.
* The ddt_open statement opens the table.
* The ddt_close statement closes the table.
* Winrunner inserts a win_get_text or obj_get_text statements in script for checking the text.
* The button_press statement press the buttons.
* Winrunner generates list_item_select statement whenever you want to select any value in drop-down menu.
* We can compare the two files in Winruuner using the file_compare function.
* tl_step statement used to determine whether section of a test pass or fail.
* Call_Close statement close the test when the test is completed

QTP

What's the QTP ?

QTP is Mercury Interactive Functional Testing Tool.

Which scripting language used by QTP ?

QTP uses VB scripting.

What's the basic concept of QTP ?

QTP is based on two concept-
* Recording
* Playback

How many types of recording facility are available in QTP ?

QTP provides three types of recording methods-
* Context Recording (Normal)
* Analog Recording
* Low Level Recording

How many types of Parameters are available in QTP ?

QTP provides three types of Parameter-
* Method Argument
* Data Driven
* Dynamic

What's the QTP testing process ?

QTP testing process consist of seven steps-
* Preparing to recoding
* Recording
* Enhancing your script
* Debugging
* Run
* Analyze
* Report Defects

What's the Active Screen ?

It provides the snapshots of your application as it appeared when you performed a certain steps during recording session.

What's the Test Pane ?

Test Pane contains Tree View and Expert View tabs.

What's Data Table ?

It assists to you about parameterizing the test.

What's the Test Tree ?

It provides graphical representation of your operations which you have performed with your application.

Which all environment QTP supports ?

ERP/ CRM
Java/ J2EE
VB, .NET
Multimedia, XML
Web Objects, ActiveX controls
SAP, Oracle, Siebel, PeopleSoft
Web Services, Terminal Emulator
IE, NN, AOL

How can you view the Test Tree ?

The Test Tree is displayed through Tree View tab.

What's the Expert View ?

Expert View display the Test Script.

Which keyword used for Nornam Recording ?

F3

Which keyword used for run the test script ?

F5

Which keyword used for stop the recording ?

F4

Which keyword used for Analog Recording ?

Ctrl+Shift+F4

Which keyword used for Low Level Recording ?

Ctrl+Shift+F3

Which keyword used for switch between Tree View and Expert View ?

Ctrl+Tab

What's the Transaction ?

You can measure how long it takes to run a section of your test by defining transactions.

Where you can view the results of the checkpoint ?

You can view the results of the checkpoints in the Test Result Window.

What's the Standard Checkpoint ?

Standard Checkpoints checks the property value of an object in your application or web page.

Which environment are supported by Standard Checkpoint ?

Standard Checkpoint are supported for all add-in environments.

What's the Image Checkpoint ?

Image Checkpoint check the value of an image in your application or web page.

Which environments are supported by Image Checkpoint ?

Image Checkpoint are supported only Web environment.

What's the Bitmap Checkpoint ?

Bitmap Checkpoint checks the bitmap images in your web page or application.

Which enviornment are supported by Bitmap Checkpoints ?

Bitmap checkpoints are supported all add-in environment.

What's the Table Checkpoints ?

Table Checkpoint checks the information with in a table.

Which environments are supported by Table Checkpoint ?

Table Checkpoints are supported only ActiveX environment.

What's the Text Checkpoint ?

Text Checkpoint checks that a test string is displayed in the appropriate place in your application or on web page.

Which environment are supported by Test Checkpoint ?

Text Checkpoint are supported all add-in environments

Note:

* QTP records each steps you perform and generates a test tree and test script.

* QTP records in normal recording mode.

* If you are creating a test on web object, you can record your test on one browser and run it on another browser.

* Analog Recording and Low Level Recording require more disk sapce than normal recording mode.