Java Add ins is added in my application.After recording the script, I compared all the properties and values by using Obj Repository and Obj Spy. At the run time i observed that, I selected "Cubic Meters/Kilogram" row in keyword view and i observed the Obj properties, but values columns are empty(no data). Why it s happend at runtime, before data is there. canany one give me the descriptive programming for this
Can anyone solve my problem, plz
At the runtime it gives the following error,
"The test run cannot continue due to an unrecoverable error.
Cannot identify the object "Cubic Meters/Kilogram" (of class JavaButton). Verify that this object's properties match an object currently displayed in your application".
If any one solves my problem, i really appreciate u.
Hi,
U can check the index value of the object in object repository.
Probably it's getting changed with the change of UI.
I was also facing the same kind of issue few days back.I removed index and used different identifier and get rid of the issue.
Just add .* after the index property in Object Repisotory so that it can identify the object regardless what ever the value of index may be at runtime
Not only for this purpose, if any values are changing at runtime just go ahead and add .* so that QTP recognises what ever value changes for objects may be at Runtime
I tried to do the same by using ordinal identifier in Obj Repository, but how to add, * after the index property in Object Repisotory.Plz clarify kamal.
Hi Kamal,
If i want to add .* as the value against the property index,it's showing a message that "please enter a numeric value"
please clarify what you exactly menat.