I have a problem with identifying an object in a user interface and I was curious if anyone could help. The test case is intended to enter an item into an inventory database, then go to a Shopping Cart-type screen and select the item just entered (out of a potential list of more than one item) by radio button (part of a WebRadioGroup). The item can be identified by the property "value" easily enough. The problem is, I haven't found a way to dynamically identify the value of the property "value' for the item just entered. I've been able to retrieve the value manually. Doing it on-the-fly has me stumped, however.
Re: identifying radio buttons by object properties
This calls for descriptive programming.
I'll assume you can predict the "value" you're looking for (perhaps you have it in your datatable, or can read it from the page where you select the item), and can store this value in a variable I am callnig strItemJustEntered.
Your code would look like this:
Browser("x").Page("y").WebRadioGroup("value:=" & strItemJustEntered)
"The last 10% of any software project will take 90% of the budgeted time. The first 90% will take the other 90%"