Q. Given the tasks below (listed in random order): I. Recognize the object type ("class")II. Use a pre-defined set of properties (mandatory properties) to create a unique object descriptionIII. Use assistive properties or an ordinal identifier to create a unique object descriptionIV. Assign a logical name to the objectWhich answer describes the correct order of tasks that are performed by QuickTest Pro during recording to create a unique identity for an object?A IV, I, II, III B IV, II, III, I C I, IV, II, III D II, III, I, IV E I, II, III, IV

Showing Answers 1 - 2 of 2 Answers

Uday Kumar. A

  • Oct 8th, 2006
 

The answer for the above question is E.

Here is my notes for the above question:

QuickTest uses the below method when it learns objects during the recording process.

  1. First, it "looks" at the object on which you are recording and stores it as a test object,
  2.  Determines the test object class that best fits it.
  3. Then, for each test object class, QuickTest has a list of mandatory properties that it always learns; When you record on an object, QuickTest always learns these default property values, and then "looks" at the rest of the objects on the page, dialog box, or other parent object to check whether this description is enough to uniquely identify the object. If it is not, QuickTest adds assistive properties, one by one, to the description, until it has compiled a unique description; If no assistive properties are available, or if those available are not sufficient to create a unique description, QuickTest adds a special ordinal identifier, such as the object's location on the page or in the source code, to create a unique description.
  4. Reads the current value of the object's properties in your application and stores the list of properties and values with the test object
  5. Chooses a unique name for the object, generally using the value of one of its prominent properties.
  6. Records the operation that you performed on the object using the appropriate QuickTest test object method

  Was this answer useful?  Yes

LJ

  • Oct 9th, 2006
 

Thank you Uday

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions