Micro Focus QTP (UFT) Forums
How to remove text in the webedit - 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: How to remove text in the webedit (/Thread-How-to-remove-text-in-the-webedit)



How to remove text in the webedit - silpavinod - 10-12-2012

I am having a webedit with some text...
I need to remove that text by using QTP

How to remove the text...

Help me


RE: How to remove text in the webedit - Ankesh - 10-12-2012

Use the below text.

Code:
Browser("<BrowserName>").Page("<PageName>").WebEdit("<WebEditName>").Set ""

Regards,
Ankesh


RE: How to remove text in the webedit - sshukla12 - 10-12-2012

U can use
Code:
Browser().Page().Webedit().Clear

Regards,
Sankalp


RE: How to remove text in the webedit - vijaychourasiya0109@gmail.com - 07-12-2018

(10-12-2012, 04:28 PM)Ankesh Wrote: Use the below text.

Code:
Browser("<BrowserName>").Page("<PageName>").WebEdit("<WebEditName>").Set " "

Regards,
VijayKumar

Some timeĀ Browser("<BrowserName>").Page("<PageName>").WebEdit("<WebEditName>").Set "" is not works so safer side you can
useĀ 
Browser("<BrowserName>").Page("<PageName>").WebEdit("<WebEditName>").Set " "