Hi folks, Any answers : I am trying QTP 9.0 on a .net application, QTP is recording but while running is giving Error "Object not found". alhtough same object has been defined in Object Respectory

Questions by reachmanoj   answers by reachmanoj

Showing Answers 1 - 4 of 4 Answers

bussysam2

  • Jan 12th, 2007
 

A reason for that is probably because the runtime property is different to test property. You may need to use descriptive programming to get around it.

  Was this answer useful?  Yes

Sirisha

  • Feb 23rd, 2007
 

Some Time QTP Version you are using may not match with the Application. Contact Mercury and make Sure that you are using the right Version of QTP which supports your application

  Was this answer useful?  Yes

Priya

  • Apr 17th, 2007
 

I dont think what you said about the version is correct because i have used to record using QTP9.0 on an .Net application and it works. If its a dynamic property then it may not recognise the object and for those cases spy the object and understand the properties of the object and then use descriptive programming and it should work

  Was this answer useful?  Yes

bussysam2

  • Apr 18th, 2007
 

The problem is that the runtime property is different from the test property. It may be having a surfix # during runtime. some thing like "ObjectName_01" during run time.

What I'll do in this case is I will re-record that same object and check the object repository to see if it store another object with a surfix.

If it adds a new object with a Surfix #, then you will need to make a regular expression surfix to the object in your script in the Expert VIew.

Let me know if this is helpful. 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions