Micro Focus QTP (UFT) Forums
how to clear an entered value in a textbox - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: how to clear an entered value in a textbox (/Thread-how-to-clear-an-entered-value-in-a-textbox)



how to clear an entered value in a textbox - padmini - 09-22-2011

i am new to QTP. I need to clear an already entered value in a textbox. Just as "SET" does the job of entering, is there a way to clear the textbox.


RE: how to clear an entered value in a textbox - vIns - 09-23-2011

you can try this...

.Set "" ' it should clear the field


RE: how to clear an entered value in a textbox - padmini - 09-23-2011

Thank you so much!! It worked Smile