click based on just the occurrence position of an image

Hi,

I have a set of images which are the same. How can I click then based on just the occurrence position(in sequence).

for ex: I have 10 checkboxes. Can I script say find all the checkboxes and click the second checkbox ?

please advise.

-veena

What you seek can be found here:

http://www.redstonesoftware.com/phpBB2/viewtopic.php?t=178

thanks.

But when following is executed:

click myImageLocation

I get error mentioned below:
File Not Found click error - couldn’t open image File “20”

Note : I have a page with 20 checkboxed. It did get the number right but cannot click the exact checkbox

-veena

I’d just add that to click the second checkbox, you could do this:

click item 2 of everyImageLocation("myCheckboxImage")

Thx for the quick response.

it works!!

-veena