Here is the html code input id=”qu” and the text in the text input box is Selenium Wiki.
To validate the text from a text box using Selenium RC you will have to use the Selenium command selenium.getValue(). This will get the value in the location input id=”qu”.
selenium.getValue(“//input[@id='qu']“)
If you found this solution helpful or have something extra to add, feel free to share it here by commenting below.

Excellent work.. It will be great if you Use any sample website and continue this work.
We can also use the getText API aswell.