03-12-2013, 12:59 PM
Hi,
I am using qtp10 and windows XP and .Net Application. In each screen more frames and web tables are available.
I have executed my scripts using descriptive programming(properties have given in test case file) successfully.
Now i am trying to execute the scripts using Object repository. But qtp is not Identifying the objects.
it is showing object disabled error / more than one properties matching with this object try with other properties...
I tried with the following.
1. Added index number.
2. I tried with different property combinations.
3. Manually added a new property and i have set the value.
4. object(Web button) recognized as a Web Element and tries to click on that but it is not working.
5. Exported local object repository values and tried.
6. tried with descriptive programming - it is working fine. But i have to write the code for all controls.each screen having more controls..i felt it is not recommended.
7. tried with child objects also.
Note: There is no property values for the object.(one or two properties have the values and remaining property values are showing as empty).
Web Element, Web button, Web edit ..... no object is recognizing.
if any one knows any other solution for this problem. Kindly help me and provide the solution.
Thanks in Advance.
I am using qtp10 and windows XP and .Net Application. In each screen more frames and web tables are available.
I have executed my scripts using descriptive programming(properties have given in test case file) successfully.
Now i am trying to execute the scripts using Object repository. But qtp is not Identifying the objects.
it is showing object disabled error / more than one properties matching with this object try with other properties...
I tried with the following.
1. Added index number.
2. I tried with different property combinations.
3. Manually added a new property and i have set the value.
4. object(Web button) recognized as a Web Element and tries to click on that but it is not working.
5. Exported local object repository values and tried.
6. tried with descriptive programming - it is working fine. But i have to write the code for all controls.each screen having more controls..i felt it is not recommended.
7. tried with child objects also.
Note: There is no property values for the object.(one or two properties have the values and remaining property values are showing as empty).
Web Element, Web button, Web edit ..... no object is recognizing.
if any one knows any other solution for this problem. Kindly help me and provide the solution.
Thanks in Advance.