A tracking transition radiation detector prototype has been constructed and tested. It consists of 192 straw tubes, 4 mm in diameter, embedded in a polyethylene block acting as radiator. Its performance has been studied as an electron identifier as well as a tracking device for minimum-ionizing particles.