I tried to use de serial.read(). but I can't catch that text.
Serial.read() is what you need to use, preceded by an
if (Serial.available()> 0) {
To make sure you don't just read an empty buffer. Where are you putting the data and what do you mean by catch the test.