0

testing Online Quiz - 41

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

The following are the four main columns in the Keyword view.

  1. Item, Operation, Value, Comments

  2. Item, Operation, Value, Documentation

  3. Item, Operation, Property, Documentation

  4. Number, Operation, Value, Documentation


Correct Option: B

The key that is used to Start/End analog recording mode ?

  1. F3

  2. SHIFT+ALT+F3

  3. CTRL+SHIFT+F3

  4. F10


Correct Option: B

AI Explanation

To answer this question, you need to understand the key combinations used to start or end analog recording mode.

Let's go through each option to understand why it is correct or incorrect:

Option A) F3 - This option is incorrect because pressing F3 alone does not activate analog recording mode.

Option B) SHIFT+ALT+F3 - This option is correct because pressing SHIFT+ALT+F3 is the key combination used to start or end analog recording mode.

Option C) CTRL+SHIFT+F3 - This option is incorrect because pressing CTRL+SHIFT+F3 does not activate analog recording mode.

Option D) F10 - This option is incorrect because pressing F10 alone does not activate analog recording mode.

The correct answer is B) SHIFT+ALT+F3. This option is correct because it is the key combination used to start or end analog recording mode.

An action can be called by other tests or actions is:

  1. Call Action

  2. Split Action

  3. Reusable Action

  4. None


Correct Option: C

The method used to get data from HTML Table is

  1. GetData(Row,Col)

  2. GetRowValue(Rowid,Colname)

  3. GetCellData (Row,Col)

  4. GetRowValue(Row,Col)


Correct Option: C

AI Explanation

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

Option A) GetData(Row,Col) - This option is incorrect because there is no standard method called "GetData" in HTML to retrieve data from a table.

Option B) GetRowValue(Rowid,Colname) - This option is incorrect because it suggests getting the value of a specific row using the row ID and column name, but there is no standard method called "GetRowValue" in HTML to retrieve data from a table.

Option C) GetCellData (Row,Col) - This option is correct because the standard method in HTML to retrieve data from a table is "GetCellData". It takes the row and column index as parameters and returns the data in the specified cell.

Option D) GetRowValue(Row,Col) - This option is incorrect because it suggests getting the value of a specific row using the row index and column index, but there is no standard method called "GetRowValue" in HTML to retrieve data from a table.

The correct answer is Option C) GetCellData (Row,Col). This option is correct because it represents the standard method used to retrieve data from an HTML table by specifying the row and column index.

You can work on one or several function libraries at the same time.

  1. True

  2. False


Correct Option: A

You can insert additional steps on the test objects captured in the Active screen after the recording session.

  1. True

  2. False


Correct Option: A

We can change name of checkpoint

  1. True

  2. False


Correct Option: A

We can add external library files in QTP.

  1. True

  2. False


Correct Option: A

We split testing into distinct stages primarily because:

  1. Each test stage has a different purpose

  2. It is easier to manage testing in stages

  3. We can run different tests in different environments

  4. The more stages we have, the better the testing


Correct Option: A

Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?

  1. Integration testing

  2. Regression testing

  3. System testing

  4. User acceptance testing


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of test capture and replay facilities and how they can benefit different types of testing.

Test capture and replay tools allow testers to record their interactions with an application and store them as test scripts. These scripts can then be replayed to automate the testing process. This can save time and effort by eliminating the need to manually repeat the same tests.

Let's go through each option to understand why it is correct or incorrect:

Option A) Integration testing - Integration testing focuses on testing the interactions between different components or modules of a system. While test capture and replay tools can be helpful in automating integration tests, other types of test tools, such as mocking frameworks or test data generators, may be more beneficial for this type of testing. Therefore, option A is not the most likely to benefit from test capture and replay tools.

Option B) Regression testing - Regression testing involves retesting previously tested functionality to ensure that changes or fixes have not introduced new defects. Test capture and replay tools are particularly useful for regression testing because they can automate the execution of previously recorded test scripts. This allows testers to quickly and accurately rerun the same tests, saving time and ensuring consistent results. Therefore, option B is likely to benefit most from test capture and replay tools.

Option C) System testing - System testing involves testing the entire system as a whole to ensure that it meets the specified requirements. While test capture and replay tools can be used to automate system testing, this type of testing often involves a wide range of test scenarios and conditions that may be difficult to capture and replay accurately. Therefore, while test capture and replay tools can be helpful, they may not be the most beneficial for system testing. Therefore, option C is not the most likely to benefit from test capture and replay tools.

Option D) User acceptance testing - User acceptance testing involves testing the system from the end user's perspective to ensure that it meets their requirements and expectations. Test capture and replay tools can be useful for automating user acceptance tests, allowing testers to record and replay typical user interactions. However, user acceptance testing often involves subjective evaluation and may require manual verification of the system's usability and user experience. Therefore, while test capture and replay tools can be helpful, they may not be the most beneficial for user acceptance testing. Therefore, option D is not the most likely to benefit from test capture and replay tools.

The correct answer is B) Regression testing. This option is correct because test capture and replay tools can significantly benefit regression testing by automating the execution of previously recorded test scripts, saving time and ensuring consistent results.

Which of the following requirements is testable?

  1. The system shall be user friendly.

  2. The safety-critical parts of the system shall contain 0 faults.

  3. The response time shall be less than one second for the specified design load.

  4. The system shall be built to be portable.


Correct Option: C

AI Explanation

To answer this question, we need to understand what makes a requirement testable. A testable requirement is one that can be objectively verified or validated. Let's go through each option to understand why it is correct or incorrect:

Option A) The system shall be user friendly - This option is not testable. "User-friendly" is a subjective term and can mean different things to different people. It is difficult to objectively verify or validate if a system is user-friendly.

Option B) The safety-critical parts of the system shall contain 0 faults - This option is not testable. While it is desirable for safety-critical parts to have zero faults, it is impossible to prove that there are absolutely no faults in a system. Testing can help identify and mitigate faults, but it cannot guarantee zero faults.

Option C) The response time shall be less than one second for the specified design load - This option is testable. The requirement specifies a measurable and objective criterion (response time less than one second) that can be validated through testing. The system can be tested to see if it meets this requirement.

Option D) The system shall be built to be portable - This option is not testable. "Portable" is a vague term and can have different interpretations. It is difficult to objectively verify or validate if a system is built to be portable.

The correct answer is C) The response time shall be less than one second for the specified design load. This option is testable because it specifies a measurable and objective criterion that can be validated through testing.

In prioritizing what to test, the most important objective is to

  1. find as many faults as possible.

  2. obtain good test coverage

  3. test whatever is easiest to test.

  4. test high risk areas


Correct Option: D

Which one of the following statements about system testing is NOT true?

  1. System tests are often performed by independent teams.

  2. Functional testing is used more than structural testing.

  3. Faults found during system tests can be very expensive to fix

  4. End-users should be involved in system tests.


Correct Option: D

Enough testing has been performed when

  1. time runs out.

  2. the required level of confidence has been achieved.

  3. no more faults are found.

  4. the users won’t find any serious faults.


Correct Option: B

Which of the following is not described in a unit test standard?

  1. syntax testing

  2. equivalence partitioning

  3. stress testing

  4. modified condition/decision coverage


Correct Option: C

Which of the following is a form of functional testing?

  1. Boundary value analysis

  2. Usability testing

  3. Performance testing

  4. Security testing


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of functional testing.

Functional testing is a type of software testing that checks whether the software system meets the specified functional requirements. It focuses on testing the individual functions or features of the software to ensure that they work correctly.

Let's go through each option to understand why it is correct or incorrect:

Option A) Boundary value analysis - This option is correct because boundary value analysis is a form of functional testing. It involves selecting test cases that are at the boundaries of the input domain, such as the minimum and maximum values, to check if the software functions correctly at these boundaries.

Option B) Usability testing - This option is incorrect because usability testing is not a form of functional testing. Usability testing focuses on evaluating the user-friendliness and ease of use of the software, rather than testing its individual functions.

Option C) Performance testing - This option is incorrect because performance testing is not a form of functional testing. Performance testing is used to assess the software's performance under various conditions, such as load, stress, and scalability.

Option D) Security testing - This option is incorrect because security testing is not a form of functional testing. Security testing is conducted to identify vulnerabilities and weaknesses in the software's security measures.

The correct answer is Option A) Boundary value analysis. This option is correct because it is a form of functional testing that focuses on testing the software at the boundaries of its input domain.

Which of the following is NOT a white box technique?

  1. Statement testing

  2. Path testing

  3. Data flow testing

  4. State transition testing


Correct Option: D

Data flow analysis studies:

  1. possible communications bottlenecks in a program.

  2. the rate of change of data values as a program executes

  3. the use of data on paths through the code

  4. the intrinsic complexity of the code.


Correct Option: C

Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?

  1. User requirements

  2. Actual results

  3. Program specification

  4. System specification


Correct Option: A
- Hide questions