Can we also Rename Object's Logical name at the Runtime?
I tried with the following code :
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
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