not working when i click span in selenium RC
I am new to selenium. i want to automate my application. Here i have the following code
<li id="720435377112" class="ag">
<span class="mb" title="Check" style="background-image: url(http://my_server//jpeg/SS);">
<img title="image" src="http://my_server//jpeg/SS" style="width: 30px; height: auto; visibility: visible;"/>
Here when i click image it goes to new screen with new layout. but not a new page using css. Here there is no anchor tag.
when record through selenium IDE i got script as like
and i tried to execute in selenium RC - java client. it doesn't give any error. but click event is not performed in that image.
How can i solve this.
Thanks & Regards,
Re: not working when i click span in selenium RC
Looks like you have a dynamic ID, you can try with:
or, if you have more than one image:
I hope it helps.