Question: I need to click a button whose xpath is "**//input[contains(@value,'Export to Excel')]**" through **Execute Javascript** keyword. I don't know how to use it.

Can anyone help me out!!!

Answer: 
You can write it as below

```
Execute JavaScript    document.evaluate("ur xpath",document.body,null,9,null).singleNodeValue.click();

```
The solution I found out for this problem is I have **reloaded the page** after **executing the AutoIT** script, then I was able to execute the remaining code.