Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Repositary
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi to all. Am very new to QTP. and Self Learning.

While am recording all objects are idetified and stored in Object Repositary.
But when i run the script again the error pop ups like The object not in Object repositary. So i added that object to the repositary.But again in third run it shows error like that object not in repositary.

The Default object added while recording is
Code:
Browser("Browser").Page("User").Frame("PWGadget3Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM")
The Object added manually by me is
Code:
Browser("Browser_2").Page("User").Frame("PWGadget2Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM").



can anyone pls give solution to this problem ?
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
The Default object added while recording is
Code:
Browser("Browser").Page("User").Frame("PWGadget3Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM")

The Object added manually by me is
Code:
Browser("Browser_2").Page("User").Frame("PWGadget2Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM").

if you observe the above two scripts the browser on which you are executing the script is not same i.e, 1.Browser 2. Browser_2. close the previous instances of the same web application and execute the script.
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Swathi ,

Thanks for ur Information. It worked Well Smile I am done with my task Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding Objects to object repositary anbarasu 6 3,660 10-23-2009, 01:54 PM
Last Post: venkatbatchu

Forum Jump:


Users browsing this thread: 2 Guest(s)