0

testing Online Quiz - 26

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

Which of the following is not a quality characteristic listed in the ISO 9126 Standard?

  1. Functionality

  2. Supportability

  3. Usability

  4. Maintainability


Correct Option: B

Testing process in which the smallest testable parts of an application, are individually and independently tested for proper operation.

  1. Integration testing

  2. System testing

  3. Unit testing

  4. Static testing


Correct Option: C
Explanation:

To solve this question, the user needs to know about different types of testing used in software development. The user needs to identify which type of testing fits the given description.

The given description matches with the concept of Unit Testing. Unit testing is a software testing technique in which individual units or components of a software application are tested in isolation from the rest of the application. It is the process of testing individual units of source code to determine whether they are fit for use.

Now, let's go through each option and explain why it is right or wrong:

A. Integration testing: Integration testing is a software testing technique that tests the interaction between software modules. It is performed after unit testing and before system testing. This option is incorrect because the given description is not talking about integration testing.

B. System testing: System testing is a software testing technique in which a complete and integrated software system is tested. It is performed after integration testing and before user acceptance testing. This option is incorrect because the given description doesn't match the concept of system testing.

C. Unit testing: This option is correct. The given description matches the concept of unit testing. Unit testing is the process of testing individual units or components of a software application for proper operation.

D. Static testing: Static testing is a software testing technique in which the code is tested without executing it. It is performed by analyzing the code or documentation. This option is incorrect because static testing doesn't involve testing the smallest testable parts of an application individually and independently.

The Answer is: C

Which onw of the following is not a part of testing level ?

  1. Black box testing

  2. Unit testing

  3. System testing

  4. Internal acceptance testing


Correct Option: A

Internal Acceptance Testing is also known as

  1. Regression testing

  2. smoke testing

  3. Beta testing

  4. Alpha testing


Correct Option: D

Testing which is non-exhaustive and ascertaining that the most crucial functions of a program work, but not bothering with finer details.

  1. Sanity testing

  2. Smoke testing

  3. Regression testing

  4. Acceptance testing


Correct Option: B

User Acceptance Testing is also known as

  1. White box testing

  2. Functional testing

  3. Alpha testing

  4. Beta testing


Correct Option: D

Testing technique in which the internal workings of the item being tested are not known to tester.

  1. Black box testing

  2. White box testing

  3. Static testing

  4. Dynamic testing


Correct Option: A

Object Spy can be found in __________ menu.

  1. Tool

  2. Tools

  3. Task

  4. Tasks


Correct Option: B

If QTP cannot find any object that matches the description, or if it finds more than one object that matches, QuickTest may use the ___________________ mechanism to identify the object.

  1. Ordinal Identifier

  2. Index Identifier

  3. Smart Identification

  4. Assistive Identification


Correct Option: C

You can access and perform ______________ methods using the Object property.

  1. Run-Time Object

  2. Test Object

  3. Smart Identification Object

  4. Assistive Object


Correct Option: A

You can view or modify the test object property values that are stored with your test in the _______________

  1. Information Pane

  2. Data Table

  3. Information Pane & Data Table Both

  4. Object Properties & Object Repository dialog box.


Correct Option: D

AI Explanation

To answer this question, you need to understand where you can view or modify the test object property values that are stored with your test.

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

Option A) Information Pane - This option is incorrect because the Information Pane typically displays information about the test, such as its name, description, and associated modules or actions. It does not provide a direct way to view or modify test object property values.

Option B) Data Table - This option is incorrect because the data table is used to store test data, not test object property values. It allows you to parameterize your tests and perform data-driven testing.

Option C) Information Pane & Data Table Both - This option is incorrect because, as mentioned earlier, the Information Pane does not provide a direct way to view or modify test object property values.

Option D) Object Properties & Object Repository dialog box - This option is correct because the Object Properties dialog box allows you to view and modify the test object property values that are stored with your test. It provides a list of properties for the selected test object, where you can change the property values as per your requirements. The Object Repository dialog box also allows you to manage and organize test objects and their properties.

Therefore, the correct answer is D) Object Properties & Object Repository dialog box. This option is correct because it provides a way to view and modify the test object property values stored with your test.

You can retrieve or modify property values of the test object during the run session by adding _______________ statements in the Keyword View or Expert View.

  1. GetROProperty & SetROProperty

  2. GetTOProperty & SetTOProperty

  3. GetTOProperty & SetROProperty

  4. GetROProperty & SetTOProperty


Correct Option: B

The Information pane provides a list of _________ in the test:

  1. Semantic errors

  2. Syntax errors

  3. Common errors

  4. Logic errors


Correct Option: B

When we switch from Expert view to the Keyword view, QTP automatically checks for syntax errors in the test and shows them in the information pane.

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, we need to understand the differences between Expert view and Keyword view in QTP (QuickTest Professional).

In Expert view, test scripts are written in a scripting language (such as VBScript) and are displayed as a series of statements. This view is suitable for experienced users who prefer to write code manually.

On the other hand, in Keyword view, test steps are created using a keyword-driven approach. Test steps are represented as a series of keywords and associated arguments. This view is suitable for users who prefer a more visual and intuitive approach to test creation.

Now, coming back to the question, the statement "When we switch from Expert view to the Keyword view, QTP automatically checks for syntax errors in the test and shows them in the information pane" is true.

When you switch from Expert view to Keyword view, QTP automatically checks the syntax of the existing test script code in Expert view. If there are any syntax errors, they will be displayed in the information pane. This is helpful in identifying and correcting any errors before executing the test.

Therefore, the correct answer is A) True. QTP does automatically check for syntax errors when switching from Expert view to Keyword view.

If the information pane is not open, QTP automatically opens it in case a syntax error is detected.

  1. True

  2. False


Correct Option: A

The __________ provides a list of the resources that are specified in your test but cannot be found.

  1. Missing pane

  2. Missing Resources pane

  3. Resources pane

  4. Missing Items pane


Correct Option: B

Whenever you open a test or a function library, QTP automatically checks for the availability of specified resources

  1. True

  2. False


Correct Option: A

The Data Table does not assist you in parameterize your test.

  1. True

  2. False


Correct Option: B

Tabs in the Debug Viewer pane are:

  1. Watch, Variables, Debug

  2. Watch, Data, Command

  3. Watch, Variables, Command

  4. View, Variables, Command


Correct Option: C
Explanation:

To answer this question, the user needs to have some familiarity with debugging in a programming environment.

The Debug Viewer pane is a window that displays information about the current state of a program being debugged. It typically includes tabs that allow the user to view and manipulate various types of data.

Now, let's go through each option and explain why it is right or wrong:

A. Watch, Variables, Debug: This option is incorrect. While "Watch" and "Variables" are often tabs included in a Debug Viewer pane, "Debug" is not a common tab and does not provide a clear function.

B. Watch, Data, Command: This option is incorrect. While "Watch" is a common tab included in a Debug Viewer pane, "Data" is not a common tab and does not provide a clear function. "Command" may be a tab used to enter debugging commands, but it is not a common tab in a Debug Viewer pane.

C. Watch, Variables, Command: This option is correct. "Watch" and "Variables" are common tabs included in a Debug Viewer pane, and "Command" may be a tab used to enter debugging commands. This option provides a clear and accurate list of tabs that may be included in a Debug Viewer pane.

D. View, Variables, Command: This option is incorrect. While "Variables" and "Command" are common tabs included in a Debug Viewer pane, "View" is not a common tab and does not provide a clear function.

The Answer is: C

- Hide questions