10-08-2010, 04:19 PM
Hi All
My scripts looks like below
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.
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.