<Application>
<Window>
<AXScrollArea:"">
<AXWebArea:"">
<AXGroup>
<AXGroup:"">
<AXButton:"NEW">
Above is the element Tree which I can see, I want to click the button. Can anyone please help me to do it?
window.activate()
allUIElements=window.findAllR(AXRole='AXGroup')
callListItems=allUIElements[0].AXChildren[0].AXChildren[0].AXChildren[0].AXChildren
buttonsInRow=callListItems[logic].findAllR(AXRole='AXButton')