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.
Questions
How many default testplan attributes are there?
- 5
- 3
- 1
- 4
How to get the integer value from a string ?
- print([int] 100 )
- print (Val("100"))
- iTemp = INTEGER(100)
- INTEGER iTemp = Val ("100")
Which language is used in QTP
- 4GL
- 4 Test Script
- VB
- VBScript
How many recording modes are available in QTP
- 3
- 2
- 1
- 4
Which one is used to run multiple test in QTP
- Group test
- Batch run
- Batch Test
- Common test
Using which exception is handled in QTP
- Recovery scenerio
- Recovery types
- Exception handler
- onexit
Which method is used for synchronization
- wait
- waitproperty
- sleep
- getproperty
Code driven test automation is a key feature of ----
- Agile software development
- dynamic software development
- RAD
- PAD
creation of interacting test scripts together with their related data results in a framework used for the methodology
- code-driven testing
- Event - driven Testing
- Data-driven testing
- Key - driven Testing
The test script modularity framework requires the creation of small, independent scripts that represents
- script procedures with full functionality
- modules, sections, and functions of the application.
- Scripting procedures for creating the framework.
- different modules from diferent applications
Solving the set of constraints can be done by Boolean solvers.Examples like
- True or false matrix
- 0 and 1 , switch on off modes
- Numerical analysis, like the Gaussian elimination.
- binary values
Markov chains are an efficient way to handle MBT and can be called Statistical Model Based Testing.They are understood best as
- State tansition diagrams
- Finite State Machines weighted by probabilities on transitions.
- entity relelation ship diagram
- data flow diagram
Which is used for executing the test with multiple set of data
- Parameter
- Keyword
- Expert
- Parameterization
The output of one screen is captured as input for the next screen using?
- Parameterization
- Input parameter
- Output parameter
- Both 2 & 3
What are different approach used in qtp?
- Keyword driven
- Data driven
- Hybrid
- All the above
Which method is used to retrieve the value from text box
- Gettext
- Getvisibletext
- GetROProperty
- All the above
QTP is the product of
- HP
- Mercury interactive
- Both 1 & 2
- Nome
- Test Conditions are derived from :-
- Specifications
- Test Cases
- Test Data
- Test Design
(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:
- Re Testing
- Confirmation Testing
- Regression Testing
- Negative Testing
(3) We use the output of the requirement analysis, the requirement specification as the input for writing :-
- User Acceptance Test Cases
- Integration Level Test Cases
- Unit Level Test Cases
- Program specifications