Unable to use RPA tool on a windows software

As soon as I hit record button and try to record the activity lets say a mouse click on the software button, The RPA tool stops.