Micro Focus QTP (UFT) Forums

Full Version: How to remove text in the webedit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having a webedit with some text...
I need to remove that text by using QTP

How to remove the text...

Help me
Use the below text.

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

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

Regards,
Sankalp
(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 " "