Software Testing and QTP Automation

Comprehensive quiz covering software testing concepts, QTP (QuickTest Professional) automation tool features, test automation frameworks, regression testing, and various testing methodologies including data-driven and keyword-driven testing.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How many default testplan attributes are there?

  1. 5
  2. 3
  3. 1
  4. 4
Question 2 Multiple Choice (Single Answer)

How to get the integer value from a string ?

  1. print([int] 100 )
  2. print (Val("100"))
  3. iTemp = INTEGER(100)
  4. INTEGER iTemp = Val ("100")
Question 3 Multiple Choice (Single Answer)

Which language is used in QTP

  1. 4GL
  2. 4 Test Script
  3. VB
  4. VBScript
Question 4 Multiple Choice (Single Answer)

How many recording modes are available in QTP

  1. 3
  2. 2
  3. 1
  4. 4
Question 5 Multiple Choice (Single Answer)

Which one is used to run multiple test in QTP

  1. Group test
  2. Batch run
  3. Batch Test
  4. Common test
Question 6 Multiple Choice (Single Answer)

Using which exception is handled in QTP

  1. Recovery scenerio
  2. Recovery types
  3. Exception handler
  4. onexit
Question 7 Multiple Choice (Single Answer)

Which method is used for synchronization

  1. wait
  2. waitproperty
  3. sleep
  4. getproperty
Question 8 Multiple Choice (Single Answer)

Code driven test automation is a key feature of ----

  1. Agile software development
  2. dynamic software development
  3. RAD
  4. PAD
Question 9 Multiple Choice (Single Answer)

creation of interacting test scripts together with their related data results in a framework used for the methodology

  1. code-driven testing
  2. Event - driven Testing
  3. Data-driven testing
  4. Key - driven Testing
Question 10 Multiple Choice (Single Answer)

The test script modularity framework requires the creation of small, independent scripts that represents

  1. script procedures with full functionality
  2. modules, sections, and functions of the application.
  3. Scripting procedures for creating the framework.
  4. different modules from diferent applications
Question 11 Multiple Choice (Single Answer)

Solving the set of constraints can be done by Boolean solvers.Examples like

  1. True or false matrix
  2. 0 and 1 , switch on off modes
  3. Numerical analysis, like the Gaussian elimination.
  4. binary values
Question 12 Multiple Choice (Single Answer)

Markov chains are an efficient way to handle MBT and can be called Statistical Model Based Testing.They are understood best as

  1. State tansition diagrams
  2. Finite State Machines weighted by probabilities on transitions.
  3. entity relelation ship diagram
  4. data flow diagram
Question 13 Multiple Choice (Single Answer)

Which is used for executing the test with multiple set of data

  1. Parameter
  2. Keyword
  3. Expert
  4. Parameterization
Question 14 Multiple Choice (Single Answer)

The output of one screen is captured as input for the next screen using?

  1. Parameterization
  2. Input parameter
  3. Output parameter
  4. Both 2 & 3
Question 15 Multiple Choice (Single Answer)

What are different approach used in qtp?

  1. Keyword driven
  2. Data driven
  3. Hybrid
  4. All the above
Question 16 Multiple Choice (Single Answer)

Which method is used to retrieve the value from text box

  1. Gettext
  2. Getvisibletext
  3. GetROProperty
  4. All the above
Question 17 Multiple Choice (Single Answer)

QTP is the product of

  1. HP
  2. Mercury interactive
  3. Both 1 & 2
  4. Nome
Question 18 Multiple Choice (Single Answer)
  1. Test Conditions are derived from :-
  1. Specifications
  2. Test Cases
  3. Test Data
  4. Test Design
Question 19 Multiple Choice (Single Answer)

(2) Repeated Testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or unrelated software component:

  1. Re Testing
  2. Confirmation Testing
  3. Regression Testing
  4. Negative Testing
Question 20 Multiple Choice (Single Answer)

(3) We use the output of the requirement analysis, the requirement specification as the input for writing :-

  1. User Acceptance Test Cases
  2. Integration Level Test Cases
  3. Unit Level Test Cases
  4. Program specifications