Validating the text from a text box using Selenium RC

Share on Facebook0Share on LinkedIn0Share on Google+0Tweet about this on Twitter0Email this to someoneDigg this

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.


3 thoughts on “Validating the text from a text box using Selenium RC

Leave a Reply

Your email address will not be published. Required fields are marked *