0

testing Online Quiz - 164

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

Testing the application after the installation at the client place

  1. Compatibility Testing

  2. Ad Hoc Testing

  3. Accessibility Testing

  4. Beta Testing


Correct Option: D

Where do you mark an action as reusable?

  1. A. Action Settings

  2. B. Action Properties

  3. C. Action Run Settings

  4. D. Action Call Properties


Correct Option: B

AI Explanation

To answer this question, you need to have knowledge of action settings and properties in software development.

Option A) Action Settings - This option is incorrect because action settings typically refer to configuration options specific to an action, such as input parameters, output parameters, and timeouts. It does not specifically indicate where an action can be marked as reusable.

Option B) Action Properties - This option is correct. Action properties are used to define various characteristics of an action, such as its name, description, and whether it can be reused. By marking an action as reusable in its properties, it can be used multiple times throughout the codebase.

Option C) Action Run Settings - This option is incorrect because action run settings typically refer to configuration options that control how an action is executed, such as the environment, execution mode, and logging settings. It does not specifically indicate where an action can be marked as reusable.

Option D) Action Call Properties - This option is incorrect because action call properties typically refer to configuration options specific to calling an action, such as input values and output variables. It does not specifically indicate where an action can be marked as reusable.

The correct answer is B) Action Properties. This option is correct because marking an action as reusable is typically done through its properties.

Which method for the DataTable utility object will allow you to retrieve information from the Data Table during a test run?

  1. A. Value

  2. B. Import

  3. C. GetCell

  4. D. GetValue


Correct Option: A

What are the available environment variable type(s)?

  1. A. Built-in

  2. B. User-defined

  3. C. User-function

  4. D. Built-in, User-defined


Correct Option: D

AI Explanation

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

Option A) Built-in - This option is incorrect. Built-in environment variables are provided by the operating system or programming language and are not a type of environment variable.

Option B) User-defined - This option is correct. User-defined environment variables are created by the user and can be used to store custom values or settings.

Option C) User-function - This option is incorrect. User-function is not a type of environment variable. It may refer to a user-defined function in programming, but not to a type of environment variable.

Option D) Built-in, User-defined - This option is correct. Both built-in and user-defined environment variables are available types. Built-in environment variables are provided by the operating system or programming language, while user-defined environment variables are created by the user.

The correct answer is D. This option is correct because it includes both built-in and user-defined environment variables as available types.

If the Global Data sheet contains no data and the Local Datasheet contains two rows of data, how many times will the test iterate?

  1. 1

  2. 2

  3. 3

  4. 5


Correct Option: A

If the Local Data sheet contains two rows of data, how many times will the action iterate, by default?

  1. A. 1

  2. B. 2

  3. C. 3

  4. D. 5


Correct Option: A

What are the available trigger event types?

  1. A. Pop-up window, object state, VBScript event

  2. B. Object State, VBScript event, Application crash

  3. C. Pop-up window, object state, test run error, QTP crash

  4. D. Pop-up window, object state, test run error, application crash


Correct Option: D

What is the keyword used to define how the counter variable in a or lext loop increments?

  1. A. ++

  2. B. Next

  3. C. Skip

  4. D. Step


Correct Option: D

How do you close the database session after examining the results of an SQL query?

  1. A. Call the ADO.Close function

  2. B. Use the close method for the RecordSet object

  3. C. Set the RecordSet and Connection objects equal to Nothing

  4. D. Use the close method for the RecordSet and Connection objects


Correct Option: D

AI Explanation

To close the database session after examining the results of an SQL query, you can use the close method for the RecordSet and Connection objects.

Option A) Call the ADO.Close function - This option is incorrect because there is no ADO.Close function. The correct method to close the RecordSet and Connection objects is by using the close method.

Option B) Use the close method for the RecordSet object - This option is incorrect because it only closes the RecordSet object, not the Connection object. Both objects need to be closed to close the database session.

Option C) Set the RecordSet and Connection objects equal to Nothing - This option is incorrect because setting the objects equal to Nothing does not necessarily close the database session. The close method should still be called on both objects.

Option D) Use the close method for the RecordSet and Connection objects - This option is correct because using the close method for both the RecordSet and Connection objects will close the database session.

Therefore, the correct answer is D.

How do you declare a constant?

  1. A. Dim statement

  2. B. Con statement

  3. C. Const statement

  4. D. Option Explicit statement


Correct Option: C

What is created, by default, with each new action?

  1. A. Local Data Sheet, Global Data Sheet, Folder

  2. B. Local Object Repository, Local Data Sheet, Folder

  3. C. Global Data Sheet, Local Object Repository, Folder

  4. D. Local Data Sheet, Global Data Sheet, Local Object Repository


Correct Option: B

What are the categories in the Step Generator?

  1. Object, Operation, Value

  2. Library, Built-in, Local Script

  3. Operation, Arguments, Return Value

  4. Test Objects, Utility Objects, Functions


Correct Option: D

What can you use to handle unpredictable testing exceptions?

  1. A Do Loop

  2. B. Recovery Scenario

  3. C. IFHEN statement

  4. D. Selectase statement


Correct Option: B

In which command can you associate a function library to a test?

  1. A. Run Options

  2. B. Test Settings

  3. C. View Options

  4. D. Function Definition Generator


Correct Option: B

After running a test that contains both input and output parameters, where can the results of an output parameter be found?

  1. Local

  2. Global

  3. Run-time Data Table

  4. Design-time Data Table


Correct Option: C

If you have a Virtual Object Collection stored on your machine, and you don't want to use it, what must you do?

  1. A. Disable Virtual Objects in Test Settings

  2. B. Remove the Collection from your machine

  3. C. Disable Virtual Objects in General Options

  4. D. Remove the Collections from the Resources list


Correct Option: C

AI Explanation

To answer this question, you need to understand how virtual objects work in testing tools.

Virtual objects are used to interact with objects in an application that are not recognized by the testing tool's standard object recognition mechanism. They are typically stored in a collection on your machine.

In this scenario, if you have a virtual object collection stored on your machine and you don't want to use it, the correct action to take is to disable virtual objects in the general options of your testing tool.

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

Option A) Disable Virtual Objects in Test Settings - This option is incorrect because disabling virtual objects in the test settings only affects the specific test execution, not the virtual object collection on your machine.

Option B) Remove the Collection from your machine - This option is incorrect because simply removing the collection from your machine does not disable virtual objects in general. The collection may still be recognized by the testing tool.

Option C) Disable Virtual Objects in General Options - This option is correct because disabling virtual objects in the general options of your testing tool ensures that virtual objects are not recognized or used during any test execution.

Option D) Remove the Collections from the Resources list - This option is incorrect because removing the collection from the resources list does not necessarily disable virtual objects in general. The testing tool may still recognize other virtual object collections.

The correct answer is C) Disable Virtual Objects in General Options. This option is correct because it ensures that virtual objects are disabled for all test executions.

What does the source property of a database checkpoint object represent?

  1. A. The SQL query

  2. B. The identification number of the database

  3. C. The number of rows returned from the query

  4. D. The connectionstring used to connect to the database


Correct Option: A
  1. A. Trigger

  2. B. Recovery Operation

  3. C. Recovery Scenario Name

  4. D. The Function used in the scenario


Correct Option: A

What are bitmap checkpoints sensitive to?

  1. A. Image size and object type

  2. B. Object type and image type

  3. C. Screen resolution and object type

  4. D. Screen resolution and image size


Correct Option: D

What are the two most commonly used ADO objects?

  1. A. Fields

  2. B. Execute

  3. C. Connection, RecordSet

  4. D. Open, ConnectionString


Correct Option: C
- Hide questions