Thanks for that, but i used that approach only to click on objects and it is working fine for me for other objects but for some it is not working.
Please clarify few thing:
Scenario 1:
Before recording i set the Options in Object Identification window as Web--->Links----> Html tag, text, index and when i recorded that it recorded the value as: A,Add,none when i run that it clicked. but when i use DP with that parameters it failed. Then i thought to add more properties in O.R and clicked on add button i realized that value for other properties are already recorded by QTP although i have set only 3 parameters from Object identification window.
Is this possible that QTP is using combination from those properties as well to click on that object and i m using only html tag, text and index that is why it is failing. Please clear this.
Scenario 2:
When i set only ordinal identifier in object identification window for web--> link and recorded the click event on that object then it showed me its index value as 6 and no other property as i have set only index option in object identification.
and when i done DP only with index value it clicked. but when i used index value with other properties like text in DP it failed again.
I have taken Text,Html Tag, index as properties for all links and i want it to be consistent otherwise i have to take some properties for one link and others for other links.Objects for which it showed None after spying as ordinal identifier i used index as 0 for those.Please help me.
Just to know is there any way by which At run time i can verify the object below and object after, the object under test so that always right object is identified at run time.
Thanx
Please clarify few thing:
Scenario 1:
Before recording i set the Options in Object Identification window as Web--->Links----> Html tag, text, index and when i recorded that it recorded the value as: A,Add,none when i run that it clicked. but when i use DP with that parameters it failed. Then i thought to add more properties in O.R and clicked on add button i realized that value for other properties are already recorded by QTP although i have set only 3 parameters from Object identification window.
Is this possible that QTP is using combination from those properties as well to click on that object and i m using only html tag, text and index that is why it is failing. Please clear this.
Scenario 2:
When i set only ordinal identifier in object identification window for web--> link and recorded the click event on that object then it showed me its index value as 6 and no other property as i have set only index option in object identification.
and when i done DP only with index value it clicked. but when i used index value with other properties like text in DP it failed again.
I have taken Text,Html Tag, index as properties for all links and i want it to be consistent otherwise i have to take some properties for one link and others for other links.Objects for which it showed None after spying as ordinal identifier i used index as 0 for those.Please help me.
Just to know is there any way by which At run time i can verify the object below and object after, the object under test so that always right object is identified at run time.
Thanx