01-11-2011, 08:43 PM
If the properties that QTP learns to identify the object as Assistive properties are sufficient to identify the object without mandatory properties, then if you delete mandatory properties it identifies the object without Mandatory properties, but if the assistive properties are not sufficient to identify the object without mandatory properties then it would not identify the object. eg for a winedit object property 'nativeclass' is mandatory without which QTP will not able to identify the object at AUT, in case of webedit say you delete 'html tag' then QTP can identify using html id, name etc. we can take example of browser too where if you dont define any property then also it will be able to identify browser using creation time. but it will not be the case for Window.
I have tried to explain it, hope it helps. however I am also not fully satisfied with my explanation. will back to you if I find anything else on this.
I have tried to explain it, hope it helps. however I am also not fully satisfied with my explanation. will back to you if I find anything else on this.