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 |
how to post xml data from QTP scripts to any application?
What are the properties you would use for identifying a browser and page when using descriptive programming?
what r the drawbacks and limitations of QTP?
Tell me the difference between QTP9.2, QTP9.5 and QTP10.0
how will you handle the situation when object is not caputred during record?
How does qtp identify objects in the application?
what is the hierarchy to use properties in descriptive programming
Tell some commonly used Excel VBA functions?
1.IF SOME OBJECT IN APPLICATION IS NOT IDENTIFIED BY QTP? HOW WILL YOU OVERCOME THIS? 2. WHEN AND WHYDO U GO FOR DESCRIPTIVE PROGRAMMING? 3. WHAT IS THE DIFFERENCE BETWEEN VB AND VBA? 4.WHAT ARE THE REGULAR EXPRESSIONS YOU USED? 5.IF ANY REQUIREMENT IS ADDED IN YOUR PROJECT, HOW WILL YOU PROCEED TO DERIVE THE TEST CASES AND HOW WILL YOU PERFORM AUTOMATION FOR IT?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
Can any one tell the different properties and values of differnt objects like Browser,Page,link,webedit,webcombobox,webradio botton,webcheckbox and web button.Because I am facing a lot of problems in interviews with Descriptive Programing.I never worked on web Application...Pls help any one as soon as possible....
what are the main differences between keyword driven frame work and data driven frame work?