Shoaib made his test debut against West Indies in his hometown of Rawalpindi in November 1997. In the year 1999, he was at the top of his game and his most significant performance was against India when he bagged eight wickets in the Asian Test championship match in Calcutta.