How QTP identifies objects during the run session

来源:互联网 发布:mac虚拟机专用xp系统 编辑:程序博客网 时间:2024/05/22 03:29

--The objects during the run session are called run-time objects--

 

(1)During a run session, QuickTest searches for a run-time object that exactly matches the description of the test object it learned previously. It expects to find a perfect match for both the mandatory and any assistive properties it used to create a unique description while learning the object. As long as the object in the application does not change significantly, the description learned is almost always sufficient for QuickTest to uniquely identify the object. This is true for most objects, but your application could include objects that are more difficult to identify during subsequent run sessions.

 

(2)QuickTest uses Smart Identification mechanism to identify an object, even when the learned description is no longer accurate. Even if the values of your identification properties change, QuickTest maintains your test's reusability by identifying the object using Smart Identification