PDA

View Full Version : onclick on the div which uses Ext JS



mcafee
10 Nov 2010, 1:22 PM
I am trying to have an onclick event fire on the div which uses the Ext JS . The script looks like
<div class="x-grid3-row-checker">&nbsp;</div>.

This is for an automation with the Selenium tool. In my java properties file , I have ,
public static String chkDomainSingle="dom=document.getElementsByTagName('div')[40]";
and in another of my java files , I have,
browser.browser.click(Properties.chkDomainSingle);

Unfortunately click event is not firing on the div above