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

Differenece betwen Project and product ? when company need project or product?

4 Answers   Accenture,


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

0 Answers  


what is the difference between Table checkpoint and Database checkpoint in QTP

2 Answers   Ordain Solutions,


What are metrics and matrix?

0 Answers  


How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.

6 Answers  






How to add a runtime parameter to a datasheet?

1 Answers   Crea,


How to change the scripts from Per-Action object repository to shared object repository

1 Answers  


Explain about the Test Fusion Report of QTP ?

1 Answers   Ordain Solutions,


HOW TO AUTOMATE CAPCHA IMAGES while creating Gmail account

2 Answers   TCS,


i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?

6 Answers   IBM,


Tel me what was the automation testing process you followed?

2 Answers  


why you have standardized functions? plzzz guys with real time exp. do answer

0 Answers  


Categories