Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Object not found in OR" error while I am creating a runtime object
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi All

My scripts looks like below

Code:
1. Set EditDesc = Description.Create()
2. EditDesc("name").value = "Edit"
3. EditDesc("text").value = "Edit"
4. EditDesc("visible").value = "True"

5. If (Browser("").Page("").Link(EditDesc).Exist then
6.    Browser("").Page("").Link(EditDesc).Click
7. else
8.    rf.writeline("User does not have permissions to edit service profile")
9. end if

I am getting an error in line 5. The error is "Object not found in object repository".

Can anybody please tell me why this error is displayed even though I am creating an object at runtime.

Thanks in advance.

Regards,
Reema.
Reply


Messages In This Thread
"Object not found in OR" error while I am creating a runtime object - by reejais - 10-08-2010, 04:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 968 04-23-2020, 07:08 PM
Last Post: BGunay
  Collecting Objects And Object State At Runtime zunebuggy 3 1,717 11-22-2017, 02:37 PM
Last Post: supputuri
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 3,436 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  Intermitent "Object not visible" error erodpr 5 3,503 01-14-2016, 10:55 AM
Last Post: vinod123
  When trying to recognize the object in QTP, each object is recognized as “WinObject:S geetasarvadnya 2 3,763 10-28-2015, 12:34 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)