03-07-2012, 03:29 AM
hi all,
i'm trying to get the "name" property of an object. the object may or may not be present on the page and for my testing purposes it doesn't matter. when i try the following and the object is not present on the page i get an "Cannot identify the object...Verify that this object's properties match an object currently displayed in your application."
all i need to do is get at the object's name, which is already saved inside the object repository and as i said above, i don't care if the object exists or not.
i was hoping there would be a way to retrieve an object's property from its object repository without needing it to be present on the page.
does anyone have a solution?
thanks!
i'm trying to get the "name" property of an object. the object may or may not be present on the page and for my testing purposes it doesn't matter. when i try the following and the object is not present on the page i get an "Cannot identify the object...Verify that this object's properties match an object currently displayed in your application."
Code:
Browser("Browser").Page("Page").WebEdit("Control").GetTOProperty("name")
all i need to do is get at the object's name, which is already saved inside the object repository and as i said above, i don't care if the object exists or not.
i was hoping there would be a way to retrieve an object's property from its object repository without needing it to be present on the page.
does anyone have a solution?
thanks!