How to change the run-time value of a property for an
object in QTP?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What is the difference between low level recording and analog recording mode when it will be enabled.
what are the challenges you have faced while testing web based application using the automation tools ?
How does QTP identifies the object in the application?
what are the qtp tester responsibilities?
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
How to track the execution time?
How u perform exception handling in QTp,what is other name for ths
Differences between text and test area checkpoints?
what is tool interface?
In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??
How to parameterize in QTP?
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?