Xtype Command is Not Working

My colleague shared his personal edition key with me (Currently He is not using it) for an automation that involves Xtype and XClick.
Xclick is working fine but XType commands are doing nothing no keyboard event is happening. I tried but could not resolve this issue.
Can anyone help me it is urgent.