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
#4
Solved: 11 Years, 4 Months ago
Hi Reejais try this,
Code:
1. Set EditDesc = Description.Create()
2. EditDesc("name").value = "Edit"
3. EditDesc("text").value = "Edit"
4. EditDesc("visible").value = "True"
5. EditDesc("micclass").value = "Link"
6. Set WebEdits=Browser("").Page("").ChildObjects(EditDesc)
7. If (WebEdits(0).Exist(1)) then
8. WebEdits(0).Click
9. else
10. rf.writeline("User does not have permissions to edit service profile")
11. end if


Pls lemme know if it won't work
Reply


Messages In This Thread
RE: "Object not found in OR" error while I am creating a runtime object - by KavitaPriyaCR - 10-08-2010, 05: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 973 04-23-2020, 07:08 PM
Last Post: BGunay
  Collecting Objects And Object State At Runtime zunebuggy 3 1,725 11-22-2017, 02:37 PM
Last Post: supputuri
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 3,453 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  Intermitent "Object not visible" error erodpr 5 3,524 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,777 10-28-2015, 12:34 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 2 Guest(s)