08-11-2009, 11:27 PM
HI Venkat ,
I would suggest you to try with the below way.
Step1: As per your Spy screenshot's heirarchy, ListButton(Image) comes under "WebTable" object. So identify under which WebTable its falling, then add that WebTable.
Step2: Retrieve the rowcount of the above WebTable
Step3: Use "For" Loop through the above Rowcount & use "ChildItem" Method for returning the Objects "Image"(ListButton) & then click them
I am sure that the above approach would work fine.
@Basanth : If the Image(ListButtons) are under the WebTable , then no need of your above approach. Isn't it ?
I would suggest you to try with the below way.
Step1: As per your Spy screenshot's heirarchy, ListButton(Image) comes under "WebTable" object. So identify under which WebTable its falling, then add that WebTable.
Step2: Retrieve the rowcount of the above WebTable
Step3: Use "For" Loop through the above Rowcount & use "ChildItem" Method for returning the Objects "Image"(ListButton) & then click them
I am sure that the above approach would work fine.
@Basanth : If the Image(ListButtons) are under the WebTable , then no need of your above approach. Isn't it ?