Cannot bring the target application in the foreground. The action was blocked by the current foreground window '' from the process '.'

I have tried as simulate and send window message for click and type into.