0

testing Online Quiz - 27

Description: testing Online Quiz - 27
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

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

  1. True

  2. False


Correct Option: A

which of the following is NOT true about regular expressions? It is used

  1. to define object properties

  2. when parameterizing a step

  3. when creating checkpoints

  4. creating function calls


Correct Option: D

What command you use to open Notepad application using QTP scripting?

  1. SystemUtil.Run "Notepad.exe"

  2. RunUtil.Notepad.exe

  3. Run.Application "Notepad.exe"

  4. None of the above


Correct Option: A

It is possible to save the recorded script without active screens

  1. True

  2. False


Correct Option: A

Which of the following is a valid action?

  1. Runtime Action

  2. External Action

  3. Recorded Action

  4. All the above


Correct Option: B

When mandatory values are not sufficient to identify an object, we use

  1. assistive property

  2. Ordinal identifier

  3. both a & b

  4. None of the above


Correct Option: C

Which of the following is NOT true?

  1. a function has a single return value

  2. an action can have more than one output parameters

  3. Function and action are one and the same

  4. many functions can be used within an action


Correct Option: C

The toolbar enables you to view the details of an individual action or the entire test flow is

  1. Testing toolbar

  2. Action toolbar

  3. Test Pane

  4. None of the above


Correct Option: B

What is the shortcut key that is used for a Standard Checkpoint?

  1. F12

  2. F2

  3. F10

  4. F7


Correct Option: A

Which of the following is not always a pre condition for test execution?

  1. A properly configured test environment

  2. A thoroughly specified test procedure

  3. A process for managing identified defects

  4. A test Oracle


Correct Option: B

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) A properly configured test environment - This option is a pre-condition for test execution. Without a properly configured test environment, the tests may not be able to run successfully.

Option B) A thoroughly specified test procedure - This option is not always a pre-condition for test execution. While having a thoroughly specified test procedure can help in executing tests effectively, it is not always necessary. Some testing approaches, such as exploratory testing, may not require a detailed test procedure.

Option C) A process for managing identified defects - This option is a pre-condition for test execution. Test execution is typically followed by defect management, where identified defects are logged, tracked, and managed.

Option D) A test Oracle - This option is a pre-condition for test execution. A test oracle is a mechanism or criterion used to determine the expected outcome of a test. Without a test oracle, it would be difficult to determine whether the test results are correct or not.

The correct answer is Option B) A thoroughly specified test procedure. This option is not always a pre-condition for test execution as some testing approaches may not require a detailed test procedure.

Which of the following is a dynamic analysis technique related to improving application performance?

  1. Code complexity analysis

  2. Profiling

  3. Network Packet sniffing

  4. spelling and Grammer checking


Correct Option: B

Which of the following is an important principle for use of experienced based test techniques?

  1. Tester skill is a critical factor in assignment of test execution tasks

  2. Tester skills are less imporatant than ensuring 100% tester utilization

  3. Tester should always focus on defect-preventing activities

  4. Tester should be evaluated based on the number of defects they find


Correct Option: A

Which of the following review type involves a determination of compliance or noncompliance?

  1. Audit

  2. Walk-through

  3. Inspection

  4. Managment Review


Correct Option: A

Which question does the term 'Verification' address?

  1. Have we built the software right?

  2. Have we built the right software?

  3. Have we built the software?

  4. Have we built error free software?


Correct Option: A

Quality Assurance Methods are usually considered :

  1. Detective

  2. Preventive

  3. Corrective

  4. Protective


Correct Option: B

Quality Assurance Methods are usually considered :

  1. Detective

  2. Preventive

  3. Corrective

  4. Protective


Correct Option: B

AI Explanation

To answer this question, you need to understand the different types of quality assurance methods. Let's go through each option to understand why it is correct or incorrect:

Option A) Detective - This option is incorrect because detective methods are used to identify and analyze defects or issues after they have occurred. It focuses on finding and fixing problems after they have happened, rather than preventing them from happening in the first place.

Option B) Preventive - This option is correct because preventive methods are used to proactively identify and eliminate potential defects or issues before they occur. It focuses on preventing problems from happening in the first place, rather than reacting to them after they have occurred.

Option C) Corrective - This option is incorrect because corrective methods are used to address and fix defects or issues that have already occurred. It focuses on correcting problems that have been identified, rather than preventing them from happening in the first place.

Option D) Protective - This option is incorrect because protective methods are not commonly associated with quality assurance. The term "protective" does not align with the typical goals and practices of quality assurance.

The correct answer is B) Preventive. This option is correct because preventive methods are used in quality assurance to proactively identify and eliminate potential defects or issues before they occur.

Quality Control activities are usually considered:

  1. Preventive

  2. Protective

  3. Corrective

  4. Detective


Correct Option: C

A program validates a numeric field as follows: - Values less than 10 are rejected - Values between 10 and 21 are accepted - Values greater than or equal to 22 are rejected Which of the following input value sets covers all of the equivalence partitions?

  1. 10,11,21

  2. 3,20,21

  3. 3,10,22

  4. 10,21,22


Correct Option: C

Boundary Value Testing

  1. is the same as equivalence partition testing

  2. tests values at the smallest incremental distance on either side of an equivalence partition boundary

  3. tests combinations of input circumstances

  4. is used in white box testing strategies


Correct Option: B
- Hide questions