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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

In qtp, explain what is keyword driven automation framework?

609


how do u plan test automation?

1437


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1612


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1621


How to customize checkpoints with parameters?

3013






Explain in brief about the qtp automation object model (aom).

552


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

1662


Both static and dynamic arrays are handled by the vb script. Is it true?

547


What is system testing and what are the different types of tests you perform in system testing?

589


can i compare two databases using QTP ?

1873


What is qtp window?

556


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1856


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

587


In qtp, how you can use xpath to identify objects?

601


If created one virtual object? Next time I changed the window position will it work?

566