How to clear value of a text box?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to clear value of a text box?

Md Wasi
Hi..
I want to delete default value of a textbox to enter new value but I am not getting how to do that...
I was thinking to use CTRL+a and then DELETE but not sure how to do this...

Thanks in advance...
Reply | Threaded
Open this post in threaded view
|

Re: How to clear value of a text box?

softwaretestingforum
Administrator
If it is for Selenium IDE (as you posted your question in Selenium IDE forum). Then you can type blank key to clear it as -

type("")
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: How to clear value of a text box?

Md Wasi
Thanks for reply but its not working... the fist thing i did was the same... any other suggestions!!! Not necessary to be done with IDE even JUnit will do.
Reply | Threaded
Open this post in threaded view
|

Re: How to clear value of a text box?

Md Wasi
In reply to this post by softwaretestingforum
Thanks for reply but its not working... the fist thing i did was the same... any other suggestions!!! Not necessary to be done with IDE even JUnit will do.