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

How to launch application under test through VBscript without using systemutil.run or invokeapplication?

3 Answers  


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

1 Answers  


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1 Answers   Wipro,


What is difference between run time object and test object?

1 Answers  


QTP script is not working on other's machine..

1 Answers  


how i can get the value of label box , please any body tell me script of that code

1 Answers  


there are having 10 checkboxes..how can i check only first 5 check boxes by using descriptive programing..

10 Answers   HealthAsyst,


QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?

2 Answers  


what is standalone database

1 Answers   Wipro,


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1 Answers   CTS, Nabard,


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?

1 Answers   TCS,


Hi All, I am new to QTP but i was trained on winrunner before. My problem is..QTP 8.2 was unable to record my application which is a java app. By selecting smart identification, i was somehow able to record the test BUT QTP cant run the test! Can anyone help me in walking through this problem..Is java addin really necessary for this?? Is there anyways i can run the test successfully? I am not sure whats going wrong in my testing.Please do help me asap as i need to submit the report early. Thanks in advance

4 Answers  


Categories