Auto attack will activate once you target an enemy and cast a offensive spell or you use auto attack on the enemy.
"Perform automatic melee attacks with your weapon."
Melee Auto Attack has 1 Meter Range.
"Automatically Attack your enemy at a distance."
Ranged Auto attack has 25 Meters Range.