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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / santhi

If u want change the property of object at run-time....
use 'SetToProperty' method of an object

example :

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

if any queries let me know,
santhi.patti@gmail.com

Is This Answer Correct ?    7 Yes 3 No

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

Answer / lokesh kanithi

Yes,We can change the run-time value of a property for an
Object by using the debug Viewer by applying a breakpoing
or when a step is failed.Use Debug or view--->Debug Viewer--
->Watch expressions Tab
Type the property & set the value during the run time.
If I'm wrong pls let me know the answer.
mail me:klrao.kanithi@gmail.com

Is This Answer Correct ?    1 Yes 2 No

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

Answer / vijaybhaskar

suppose if u want to change runtime property of the edit
box simply type



browser(" ").page(" ").winedit("username").set "bhaskar"
]


correct me if i am wrong

Is This Answer Correct ?    0 Yes 14 No

Post New Answer

More QTP Interview Questions

What is the difference between low level recording and analog recording mode when it will be enabled.

5 Answers   Ordain Solutions,


what are the challenges you have faced while testing web based application using the automation tools ?

0 Answers  


How does QTP identifies the object in the application?

1 Answers   Crea,


what are the qtp tester responsibilities?

3 Answers  


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

0 Answers  


How to track the execution time?

2 Answers  


How u perform exception handling in QTp,what is other name for ths

1 Answers   Lehman Brothers,


Differences between text and test area checkpoints?

0 Answers  


what is tool interface?

1 Answers   ITC Infotech,


In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??

5 Answers   HCL,


How to parameterize in QTP?

4 Answers  


I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

1 Answers  


Categories