Software Testing Questions and Answers for Job Interviews consists of topics on Manual and Automated Software Testing, Test Director, WinRunner, QuickTestPro (QTP), LoadRunner, SilkTest, Bug Tracking, Black Box Testing, White Box Testing, Test Cases & Scenarios, Web Testing, & more.
Software Testing Questions & Answers for Job Interviews
Q1. What’s the difference b/w Software Quality Assurance and Software Testing?
A1. Software Quality Assurance involves the entire software development process to ensure the quality of the final product. This can include processes such as requirements gathering and documentation, source code control, code review, change management, configuration management, release management and the actual testing of the software. Software QA is often confused with Software Testing but should not be. Testing is a big part of Software Quality Assurance, but it is not, by any means, the only part of it.
Q2. What is merits and demerits of White box and Black box testing?
A2. Merits:In Black box testing you test for the functionality of the program, components or application against its specification without knowledge of internal logic.In White box testing path of logic in unit or component is known, it consists of testing paths, branches, decisions, conditions to produce predictable results. This technique is usually used during tests executed by the development team, such as Unit or Component testing,
Demerits:In Black box testing you cannot test for hidden functions for e.g. if in a code there is a function that calculates x=a=B/n-1 In White box testing you cannot test for missing functions for e.g.: while doing white box testing you cannot test if the tool tip is shown when a cursor moves over a button.
Q3. What are test case techniques?
Low Level:-
Boundary Value Analysis (BVA)
Equivalence Partitioning (EP)
Special Value (SV)
Error Based (EB)
I/O Domain
High Level:-
Decision Table (DT)
Flow Chart (FC)
Q4. What are the advantages of using load runner?
A4. The advantages are: -
1. Loadrunner reduces the personnel requirement by replacing the human users with vusers (virtual users).
2. Numerous vusers can run on a single computer. Loadrunner reduces the hardware requirements.
3. It allows you to effectively control all vusers from single point of control
Q5. How do you copy and move objects between different GUI map files?
A5. We can copy and move objects between different GUI Map files using the GUI Map Editor. The steps to be followed are:i. Choose Tools > GUI Map Editor to open the GUI Map Editor.ii. Choose View > GUI Files.iii. Click Expand in the GUI Map Editor. The dialog box expands to display two GUI map files simultaneously.iv. View a different GUI map file on each side of the dialog box by clicking the file names in the GUI File lists.v. In one file, select the objects you want to copy or move. Use the Shift key and/or Control key to select multiple objects. To select all objects in a GUI map file, choose Edit > Select All.vi. Click Copy or Move.vii. To restore the GUI Map Editor to its original size, click Collapse.
Q6. What is parameterization?
A6. Instead of passing different inputs to the same operation again and again the parameterization was used in which you can add different parameters in the test scripts and also the input given is shown in the data table (Excel sheet), such that when the application runs it takes the input by itself in different iterations.
In order for WinRunner to use data to drive the test, replace fixed values in the check point statement and in recorded statement with parameters and creating a data table containing values for parameters. This is known as parameterizing the test.
Q7. How do you handle unexpected events and errors?
WinRunner uses exception handling to detect an unexpected event when it occurs and act to recover the test run. WinRunner enables you to handle the following types of exceptions: Pop-up exceptions: Instruct WinRunner to detect and handle the appearance of a specific window.TSL exceptions: Instruct WinRunner to detect and handle TSL functions that return a specific error code.Object exceptions: Instruct WinRunner to detect and handle a change in a property for a specific GUI object.Web exceptions: When the Web Test add-in is loaded, you can instruct WinRunner to handle unexpected events and errors that occur in your Web site during a test run.
Q8. What is Database Checkpoint?
A8. GUI check point and Bitmap are applicable on front-end objects only. To conduct back end and database testing test engineers use database checkpoints in Win Runner.
During database testing test engineers validate the impact of front screen operation on back end table context in terms of Data Validation and Data Integrity.
Data validation checks that the data are valid and sensible/reasonable before they are processed.
Data Integrity is the assurance that data are consistent, correct, and accessible.
Data base checkpoints consists of three options:
Default check: To conduct data base testing depending on content of data. Here complete database is checked.
Custom check: To conduct data base testing depending on Row count & column count.
Run Time Record check: To conduct database testing at run-time.
Q9. What is a test bed?
A9. A testbed is a platform for experimentation for large development projects. Testbeds allow for rigorous, transparent and replicable testing of web applications & software solutions.
Q10. Which are the different types of GUI Checkpoints?
A10. There are 3 types of GUI checkpoints:
For Single Property: To verify one property of one object [GUI].
For Object/Window: To verify one or more properties of one object [GUI].
For Multiple Object: To verify one or more properties of 2 or more objects [GUI].
A1. Software Quality Assurance involves the entire software development process to ensure the quality of the final product. This can include processes such as requirements gathering and documentation, source code control, code review, change management, configuration management, release management and the actual testing of the software. Software QA is often confused with Software Testing but should not be. Testing is a big part of Software Quality Assurance, but it is not, by any means, the only part of it.
Q2. What is merits and demerits of White box and Black box testing?
A2. Merits:In Black box testing you test for the functionality of the program, components or application against its specification without knowledge of internal logic.In White box testing path of logic in unit or component is known, it consists of testing paths, branches, decisions, conditions to produce predictable results. This technique is usually used during tests executed by the development team, such as Unit or Component testing,
Demerits:In Black box testing you cannot test for hidden functions for e.g. if in a code there is a function that calculates x=a=B/n-1 In White box testing you cannot test for missing functions for e.g.: while doing white box testing you cannot test if the tool tip is shown when a cursor moves over a button.
Q3. What are test case techniques?
Low Level:-
Boundary Value Analysis (BVA)
Equivalence Partitioning (EP)
Special Value (SV)
Error Based (EB)
I/O Domain
High Level:-
Decision Table (DT)
Flow Chart (FC)
Q4. What are the advantages of using load runner?
A4. The advantages are: -
1. Loadrunner reduces the personnel requirement by replacing the human users with vusers (virtual users).
2. Numerous vusers can run on a single computer. Loadrunner reduces the hardware requirements.
3. It allows you to effectively control all vusers from single point of control
Q5. How do you copy and move objects between different GUI map files?
A5. We can copy and move objects between different GUI Map files using the GUI Map Editor. The steps to be followed are:i. Choose Tools > GUI Map Editor to open the GUI Map Editor.ii. Choose View > GUI Files.iii. Click Expand in the GUI Map Editor. The dialog box expands to display two GUI map files simultaneously.iv. View a different GUI map file on each side of the dialog box by clicking the file names in the GUI File lists.v. In one file, select the objects you want to copy or move. Use the Shift key and/or Control key to select multiple objects. To select all objects in a GUI map file, choose Edit > Select All.vi. Click Copy or Move.vii. To restore the GUI Map Editor to its original size, click Collapse.
Q6. What is parameterization?
A6. Instead of passing different inputs to the same operation again and again the parameterization was used in which you can add different parameters in the test scripts and also the input given is shown in the data table (Excel sheet), such that when the application runs it takes the input by itself in different iterations.
In order for WinRunner to use data to drive the test, replace fixed values in the check point statement and in recorded statement with parameters and creating a data table containing values for parameters. This is known as parameterizing the test.
Q7. How do you handle unexpected events and errors?
WinRunner uses exception handling to detect an unexpected event when it occurs and act to recover the test run. WinRunner enables you to handle the following types of exceptions: Pop-up exceptions: Instruct WinRunner to detect and handle the appearance of a specific window.TSL exceptions: Instruct WinRunner to detect and handle TSL functions that return a specific error code.Object exceptions: Instruct WinRunner to detect and handle a change in a property for a specific GUI object.Web exceptions: When the Web Test add-in is loaded, you can instruct WinRunner to handle unexpected events and errors that occur in your Web site during a test run.
Q8. What is Database Checkpoint?
A8. GUI check point and Bitmap are applicable on front-end objects only. To conduct back end and database testing test engineers use database checkpoints in Win Runner.
During database testing test engineers validate the impact of front screen operation on back end table context in terms of Data Validation and Data Integrity.
Data validation checks that the data are valid and sensible/reasonable before they are processed.
Data Integrity is the assurance that data are consistent, correct, and accessible.
Data base checkpoints consists of three options:
Default check: To conduct data base testing depending on content of data. Here complete database is checked.
Custom check: To conduct data base testing depending on Row count & column count.
Run Time Record check: To conduct database testing at run-time.
Q9. What is a test bed?
A9. A testbed is a platform for experimentation for large development projects. Testbeds allow for rigorous, transparent and replicable testing of web applications & software solutions.
Q10. Which are the different types of GUI Checkpoints?
A10. There are 3 types of GUI checkpoints:
For Single Property: To verify one property of one object [GUI].
For Object/Window: To verify one or more properties of one object [GUI].
For Multiple Object: To verify one or more properties of 2 or more objects [GUI].
I am compiling my next list which should be out in a few days.
Software Testing Topics on WinRunner, QuickTestPro (QTP), LoadRunner, Manual Testing for Job Interviews
1 comment:
Hi Tanya.
Pushpendra this side from India. I read the top 10 questions of software testing posted by you. In which some are really unique one.
I am also working in same field as a Software Testing Engineer. So i keep on searching such type of questions. Do send me the next one also or if you have any other just forward. I will be very thankful to you.
Have a Nice Day
Regards
Pushpendra
Post a Comment