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

Can we create a qtp test from qc?

591


Have you faced any problems with object repository?

592


What is regular expression?

581


Where is the Bitmap checkpoint information stored?

1764


What is keyword view?

566






Is it possible to split an action? How?

662


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1426


What is Associate Repository in QTP 9.2 ?

604


Diff b/w test scenario's and test Procedures?

1633


Explain building blocks of the bpt framework ?

561


Tell me about qtp?

543


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1529


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1379


How did you resolve conflicts present in Object Repository?

1617


what are the mandatory properties for a tex boxc (scenario?)

1531