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 |
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
How to suppress warnings from the test results page?
How do I get the QTP scripts result in xml format by using vb script function?
How many types of recording modes in the qtp?
what is difference betweein qtp 9.0 and 9.2
How do u use Database checkpoints and what are the use?
What is the difference between two actions?
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
What is test automation framework?which framework does QTP follow?Need some practical explanation as to how u will start ur testing process following a particular framework?
regular expression
How can you write the scripts that operate on different objects depending on run-time information?
what is object spy