Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Name Is Also A Dynamic Value
#1
Not Solved
I have to grab a numeric value off a web page.  When I use Object Spy, it breaks it down like this:

Browser : <browser name>
             Page : <page name>
                     Frame : Frame
                              WebTable : <web table name>
                                             WebTable : <web table name>
                                                           WebElement : nnnnnnnnnnn

where nnnnnnnnnnn is the numeric value I need to capture.

After adding this to the repository it simply shows up as:

Browser("myBrowser").Page("myPage_8").Frame("Frame").nnnnnnnnnnn

The name of the object is the number I need and it is a WebElement.  I can't have this be the object name because this number will always be unique and that would mean next time I run this, that object will not be found.

I do not need the number to be a long integer.  As a matter of fact I would prefer a numeric string.  How do I grab this value?  This is probably very simple but I am used to GetROProperty("value")

Thank you,
Zune
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic Object creation rjkmr.aiht 2 2,548 09-01-2012, 12:32 PM
Last Post: basanth27
  Dynamic Object or Virtual Object Suba 8 6,333 04-27-2011, 02:29 PM
Last Post: vIns
  Is there a way to select dynamic option of an object in run time? joshasha 10 10,277 10-30-2009, 06:04 PM
Last Post: basanth27
  Dynamic Object Names Hawks1980 1 2,785 04-25-2009, 02:45 PM
Last Post: sangeethav

Forum Jump:


Users browsing this thread: 1 Guest(s)