Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to remove text in the webedit
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
I am having a webedit with some text...
I need to remove that text by using QTP

How to remove the text...

Help me
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Use the below text.

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

Regards,
Ankesh
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
U can use
Code:
Browser().Page().Webedit().Clear

Regards,
Sankalp
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
(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 " "
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to remove the spaces from a string Anand 7 29,407 08-12-2019, 04:47 PM
Last Post: sreekanthP
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,892 09-13-2015, 12:06 AM
Last Post: ADITI1992
  how to remove null values in array venkatesh9032 0 2,887 02-19-2014, 06:51 PM
Last Post: venkatesh9032
  how to remove values from an Array. ACCBAJPA 5 5,122 08-23-2013, 12:18 PM
Last Post: ssvali
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,660 08-13-2013, 08:37 PM
Last Post: excellentpawan

Forum Jump:


Users browsing this thread: 1 Guest(s)