By defeating Erakovic, Robson has become the first British woman in 15 years to reach the fourth round of Wimbledon.
Robson, ranked 38th in the world, lost the first set to Erakovic, ranked 71st in the world as she produced a series of unforced errors.
The British teenager’s problems seemed to be continuing in the second set, when Erakovic broke Robson’s serve again – and the stage appeared set for Robson’s departure from the competition.
But then Robson came to life – breaking Erakovic’s twice to win the second set.
In the third set Robson broke Erakovic’s serve twice in quick succession. However, the New Zealander continued to battle, breaking Robson’s serve in the fifth game.
This meant Erakovic needed to hold her own service games and break Robson’s serve again for a chance of victory. In the eighth game of the set Robson came close to the win, playing for the match on one point – but Erakovic kept her composure.
Robson was then serving for the match. Erakovic continued to battle, but at 40-30, Robson was playing her second match point which she won.
British Olympic champion Andy Murray will be in action on Monday.