I am currently conducting automated testing on a web application based on extjs using robotframework and selenium2library. However, I'm facing difficulty in locating certain elements within a table component. I have come across the Execute JavaScript keyword in the selenium2library and I would like to know how I can utilize it. For instance, how do I execute the following JavaScript code:
var a=document.getElementById('ext-comp-1155').getElementsByTagName("button");
a[0].click();
Has anyone successfully automated testing of extjs-based web pages before? Any guidance or advice on this matter would be greatly appreciated.