I want to clear the webedit field without using set"" in
qtp script



I want to clear the webedit field without using set"" in qtp script..

Answer / morningray

For this, we can use the Objects' Native properties and set
the value of the field as empty,as in the below code..

Browser("brwQTP").Page("pgQTP").Frame("top").WebEdit
("txtLoginUserID").Object.Value=""

Is This Answer Correct ?    14 Yes 5 No

Post New Answer

More QTP Interview Questions

I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"

2 Answers   Rolta,


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

0 Answers   IGI,


How many add-ins comes by default with quicktest professional?

0 Answers  


What is an object repository?

0 Answers  


In QTP how to interact tool and application build?

2 Answers  






if numbers are always changing write a script for that

1 Answers   Nous,


What are the features and benefits of quick test pro (qtp 8.0)?

0 Answers  


How can you Open a Notepad and How can you write the test Resuts in Notepad by Using QTP?

3 Answers  


How to load an object to a object repository at RUN TIME ?

3 Answers  


How we can add actions in the test using QTP?

5 Answers  


what is object spy

5 Answers   TCS,


how we will use output values in qtp? is there any possibulity by descriptive programming?

2 Answers  


Categories