Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get identification property from object when object doesn't exist on page
#1
Not Solved
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."

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!
Reply


Messages In This Thread
Get identification property from object when object doesn't exist on page - by Dili - 03-07-2012, 03:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  File Chooser on Chrome doesn't work - UFT 15.0.1 Nenna Rosa 1 3,325 10-31-2020, 01:16 PM
Last Post: Ankur
  Enabling Smart Identification for SAP Gui object prasanna.kale5@gmail.com 0 849 12-05-2019, 08:04 PM
Last Post: prasanna.kale5@gmail.com
  Exist and Visible Are True When Objects Aren't There - Is there A Better Way? zunebuggy 3 2,740 04-24-2018, 02:12 PM
Last Post: Ankur
  Time Delay issue with Exist mv8167 11 24,024 06-19-2017, 02:56 PM
Last Post: grosorg
  Object identification is taking too much time JACKSPARROW 0 1,600 01-17-2017, 11:08 AM
Last Post: JACKSPARROW

Forum Jump:


Users browsing this thread: 1 Guest(s)