@Raghavendraprasad I agree to you and I was not enough clear in my words. We set up some rules when to use Attach Window and when not. This we applyed in a strict way. Performance factors need to get in account for sure and you are right on this.
We had so something like a kit of tools for what to use or on how to deal with an JxApplication, that is reacting in deep range of performance (slow - time out, fast Click generic error). Therefore we were deciding what is the most working tool to get the bot robust working fo ar aprticular scenario. Never use it as rule that can be applied always. The specific application / scenarion is to taken into account.
@Heathersmithx as mentioned before find out whar can help you to grap a synchronization point (e.g. Element is loaded, Application is reactive, last row of table is loaded …) and then check if a click can be send more reliable to the element. Let us know in case you need more ideas and feel free to share more app specific constraints from your automatization task.
@Raghavendraprasad, @Heathersmithx afterwards when we found an working approach than we finetuned on performance on e.g. adjusting timeout parameters, retry scope configurations …