Multiple choice technology testing

Keyword that is used to diassociate an object variable from actual object in QTP using VB Script

  1. Free

  2. Release

  3. DisAssociate

  4. Nothing

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

In VBScript, object variables are references to actual objects in memory. To dissociate an object variable and release memory, you set the variable to 'Nothing' using the 'Set' keyword. This is different from other languages that use explicit 'Release' or 'Free' commands. The 'Nothing' keyword represents the absence of an object reference.