Micro Focus QTP (UFT) Forums
Selecting Test field - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Selecting Test field (/Thread-Selecting-Test-field)



Selecting Test field - remya_111 - 05-08-2009

Hi ,
I need to select a text field and clear it. Qtp is not recording the selecting part. What should I do? Plz help

Thanks,
Remya


RE: Selecting Test field - kishoreinchennai - 05-11-2009

Code:
Browser("Google").Page("Google").WebEdit("q").Click

This alone will set it to clear i am not sure why you need to select it
Code:
Browser("Google").Page("Google").WebEdit("q").set ""