After impressing in one-day cricket, he was called up for his Test debut at home to Australia at the Chittagong Divisional Stadium. Bangladesh batted first and he recorded 15 in his first Test match innings. A decent start but he failed to take a wicket in Australia’s only innings and he registered a golden duck in an innings defeat. His next test appearance took place a year afterwards against Sri Lanka where he got first test wicket having Chamara Silva caught. He got Graeme Smith in a Test against South Africa and he got his highest Test match score of 33 in both innings, once finishing unbeaten. In a Test match against New Zealand, he registered his highest Test match bowling figures of 3-93. This and the next Test in the series (subsequently his last so far) brought his bowling action into question.
 Indian Premier League
Razzak was the only Bangladeshi to play in the 2008 Indian Premier League. He was bought for $50,000 by the Royal Challengers Bangalore and played in only one match. Despite not playing often for the team, Razzak believed that the experience he gained from the tournament was important. He stated that “Anil [Kumble] was very helpful when I asked him about bowling in Test matches. He told me that given my bowling approach, it is very important to use variations within my line and length. Actually, captains would want a breakthrough from me so without using variations, wickets are hard to come by. Coach Venkatesh Prasad was also a great help”
Following New Zealand’s tour of Bangladesh in October 2008, Razzak was reported by umpires Daryl Harper and Asoka de Silva for having a “suspect bowling action”. This was the second time in his career that he had been reported for his bowling action. A bowler is deemed to have thrown the ball if his arm bends by more than 15 degrees when delivering the ball. It had been expected that only Razzak’s quicker ball was suspect and he would be disallowed from bowling it, however tests showed that Razzak bends his arm by 22–28 degrees, usually averaging 25 degrees although his quicker ball was delivered at an average of 24 degrees. As a result, Razzak was suspended from international cricket, although he is allowed to bowl under supervision in domestic cricket, until he remodels his action. In March 2009, the ICC lifted Razzak’s suspension after he changed his bowling action; now both his stock delivery and faster ball are legal.
In July 2009, on Bangladesh’s tour of the West Indies, Razzak represented Bangladesh in international cricket for the first time since his suspension. Omitted from the Test squad, he was called up for the one-day series Razzak’s performance in the first One Day International, for which he was awarded the man-of-the-match award, helped Bangladesh defeat the West Indies by 52 runs. He opened the bowling and took 4 wickets for 39 runs (4/39) against a West Indies side weakened by disputes between the players and the West Indies Cricket Board. He finished as Bangladesh’s leading wicket-taker in the three match series, with 7 wickets at 22.85, however he was injured in the final match. The hamstring strain he sustained while batting ruled him out of Bangladesh’s tour of Zimbabwe in August 2009. By the time Zimbabwe toured Bangladesh for a five-match ODI series in October and November 2009, Razzak had recovered from his injury and was included in the Bangladesh squad. He took 15 wickets in the series which Bangladesh won 4–1 and was named Man of the Series