finding objects using webtest and adding them to the GUI
I'm not sure if i'm going to be explaining this clearly, but here goes....
I'm working on testing a web page that is entirely links in this format:
'RandomName' is in one cell of a table and 'Actions Properties is' in another cell of that table.
The problem is that there are a dozen or so of these and they are all separate tables according to winrunner.
I've been able to click on each Actions or Properties so far by changing the Location in the GUImap, but what i need to do is to be able to find and click on them based on the link above them, the RandomName.
Re: finding objects using webtest and adding them to the GUI
Create a loop based upon location that loops through the table. For each iteration, check the random name for the desired link.
You may be able to use web_obj_get_info(), tbl_get_cell_data(), tbl_get_selected_cell(), and/or tbl_activate_cell().
Change gui location value using the loop control var.
Check location's random name.
If desired - click on desired cell - break from loop