08-19-2009, 05:32 AM
Hi Ankur,
I am testing Java Application and for the first time I am under such tough situation.Let me explain you the scenario.
The application that I am testing has Java List and I have to run the test for 5 iterations.The properties in the Object Repository are
1. Class Description - list
2. attached text - Available.*
So when QTP runs for the first iteration the list has 4 values and QTP has no problem identifying the Java List. Now second time the List has 2 values and QTP denies to recognise it. I used GetTOProperties and found that for first iteration it uses the object from repository & takes attached text as Available.*" . Next time it takes the attached text as Available - 4". I tried with descriptive programming too but didn't help.
I have been running the same scripts for almost 1.5 yrs and it had no problem and all of sudden from last couple of builds QTP is throwing error "The object can't be identified.....".
I hope i have made myself clear.
Please help me to understand why QTP is not picking the properties from rep...
Waiting for your reply.
Thanks
I am testing Java Application and for the first time I am under such tough situation.Let me explain you the scenario.
The application that I am testing has Java List and I have to run the test for 5 iterations.The properties in the Object Repository are
1. Class Description - list
2. attached text - Available.*
So when QTP runs for the first iteration the list has 4 values and QTP has no problem identifying the Java List. Now second time the List has 2 values and QTP denies to recognise it. I used GetTOProperties and found that for first iteration it uses the object from repository & takes attached text as Available.*" . Next time it takes the attached text as Available - 4". I tried with descriptive programming too but didn't help.
I have been running the same scripts for almost 1.5 yrs and it had no problem and all of sudden from last couple of builds QTP is throwing error "The object can't be identified.....".
I hope i have made myself clear.
Please help me to understand why QTP is not picking the properties from rep...
Waiting for your reply.
Thanks