Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error while adding Object to Object repository at run time
#4
Solved: 11 Years, 3 Months, 2 Weeks ago
Can we also Rename Object's Logical name at the Runtime?
I tried with the following code :
Code:
Set mR = CreateOBject("Mercury.ObjectRepositoryUtil")
    mR.Load "C:\Users\Documents\ObjectRepository.bdb"
    mR.RenameObject Browser("TEstFolder").Page("abc"),"def"

I have tried to save it in the VBS file and then attached to the Test
But I am getting Error as : Object Can not be Renamed

I have also attached the Screenshot of the error


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: Error while adding Object to Object repository at run time - by dubeyvin - 02-02-2015, 01:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  adding atachment to QC (ALM) - overwrite psova 1 4,481 02-07-2023, 03:18 PM
Last Post: RachapudiSaiSowmya
  Error in Code while accessing WPF object Dinesh_cts 1 3,330 11-08-2017, 11:46 PM
Last Post: lotos
  Loading QRS files at Run time dvkbabu 2 10,016 03-24-2017, 09:04 PM
Last Post: UrmilaSaha
  Missing Resources, Information Pane, Debug Viewer, Run time Data Table not visible Aurodeepta 3 6,973 05-28-2015, 02:52 PM
Last Post: Aurodeepta
  Object Identification not working on Run Time Ajatshatru 2 3,259 05-06-2015, 07:27 PM
Last Post: Ajatshatru

Forum Jump:


Users browsing this thread: 1 Guest(s)