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

which tpye of exceptions mostly do we face in QTP

2 Answers  


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

0 Answers   FirstApex,


when we open flight reservation.at that time where we found synchronization point() and wait function().i m confused .i want this answer.

1 Answers  


How to change the priorities of the recovery scenario properties?

0 Answers  


give me the code to save all messages of inbox of gmail into a folder and notepad

0 Answers   Infosys,






What is the method for maximize the application while we using Decriptive programming in QTP?

3 Answers  


how can i prepare for QTP(8.2) to face interview ? give over view details?

52 Answers  


how to choose the framework in qtp ? 2)when we go for the descriptive programming ?

2 Answers   Syntel,


How u call functions in QTP Function to calculate the length of characters in a word -

5 Answers  


where did you automate in your project?(please tell me example senarios)

2 Answers  


Explain the keyword createobject with an example.

1 Answers  


Explain about the test fusion report of quicktest professional?

0 Answers  


Categories