In Selenium IDE, the application has got image as button. The click event for that is not capturing. Is there any alternativ开发者_JS百科e Selenium Commands available for that or otherwise, is there any JavaScript user extensions can be added?
Please help.
Thanks
Yes.. the image will act as a button..
Found a solution for that!!
Simply added a JavaScript code which supports clickAt() commands.
To detect button as image you can use one of the below solution
xpath=//img[@src='/images/logo_home.png']
xpath=//img[@alt='Home']
//img[@src='/images/logo_home.png']
精彩评论