How to change the run-time value of a property for an
object in QTP?

Answer Posted / madhava

use 'SetToProperty' method of an object to change the
property of object at run-time....

example :

browser(" ").page(" ").winedit
("username").setToProperty "Property", Value

Property can be any physical property of the object such as
Name, type, color........

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3580


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

580


write the vb script for call to new action in qtp?

1857


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

1625


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1726






How many ways is to parameterize the value?

615


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

1638


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

1626


Explain different type of event trigger option.

537


How to handle the exceptions using recovery secnario manager in quicktest professional?

632


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1637


Hai anyone please "Explain about Framework in QTP?"

1616


what is the advantages and disadvantages of using functions instead of re usable actions

1426


What is a quick test professional?

624


explain how to write vb script in qtp?when will you write own script?

1853