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 dis advantage of check points in QTP, if any?
How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.
4 Answers CarrizalSoft Technologies, DST Global Solutions,
What is the regular expression for Yahoo mail Inbox?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
My Project is HOSPITAL CONTROL SYSTEM. In this MY testing modules are In-patient and Out-patient. plz explain those modules. i.e. How explain to Interviewer. with full details also . Waht types of bugs we can fond ? NOTE : IT is a web project plz urgent.
what is the mail use of frame work(with detail). architecture for keyword driven frame work
what is action in QTP?
Name the properties you would use for identifying a browser and page when using descriptive programming?
In QTP where i have to concentrate more in the Interview point of View
Explain about Standard output value, Text output value, database o/p value, Xml O/p value, Xm o/p Value
Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?