Multiple choice technology testing

Which of the following is correct when we use descriptive programming in a script

  1. Programmatic descriptions for parent object and the child object is referred in Object Repository

  2. Programmatic descriptions for both parent object and the child objects

  3. Parent object is referred in Object Repository and the programmatic descriptions for child object

  4. None of the above

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

When using descriptive programming in QTP/UFT, we can describe all objects in the hierarchy programmatically, or describe the child programmatically while referencing its parent from the Object Repository. Once a child is described programmatically, its descendants must also be programmatically described.