Multiple choice technology testing

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

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To disable a Virtual Object Collection so it's not used, you must disable Virtual Objects in General Options. This is a global setting that controls whether QTP uses any virtual object collections during test execution. Simply removing the collection from your machine or Resources list is not the correct method - the option in General Options is designed specifically for enabling/disabling virtual object usage.

AI explanation

To answer this question, you need to understand how virtual object collections work and how to disable them. 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 test settings only affects the specific test or action being executed. It does not permanently disable virtual object collections on your machine.

Option B) Remove the Collection from your machine - This option is incorrect because removing the collection from your machine is not necessary to disable virtual objects. Virtual object collections can still be disabled without removing them.

Option C) Disable Virtual Objects in General Options - This option is correct because disabling virtual objects in the general options settings will globally disable virtual object collections on your machine. This means that virtual objects will not be recognized or used during test execution.

Option D) Remove the Collections from the Resources list - This option is incorrect because removing the collections from the resources list does not disable virtual objects. It only removes the references to the collections, but the virtual objects can still be recognized and used.

The correct answer is C) Disable Virtual Objects in General Options. This option is correct because it globally disables virtual object collections on your machine, ensuring that they are not used during test execution.