how to change the properties of object during run time . plz
give the code using flight reservation
Answers were Sorted based on User's Feedback
Answer / raju
We can change the property value of an object in Object
repository at runtime by using "Settoproperty".
For example If we want to change the text property of
submit button to save at run time, then we should use this
property to let the tool identify that the property is
changed so that Object Identification issues do not occur.
Syntax : Window("Window Name").page("Page Name").webbutton
("submit").settoproperty(text,"submit","save")
Next time if we execute this script statement----
Window("Window Name").page("Page Name").webbutton
("submit").click
tool doesn't face any difficulty in clicking on save
button..as the text property value of submit button is
changed to save....
Similarly we can change the property values of the objects
in Object Repository using this settoproperty..
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / nikhil sood
see guys by using getroproperty method we can retrive run
time property value but we can nothave method to change
runtime property please let me know if i am incorrect
| Is This Answer Correct ? | 1 Yes | 3 No |
Hi All, Can anyone provide me the license for QTP 9.5.... My Email ID: khanbro@rediffmail.com
What is Automation frame work.How we will prepare in real time.
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?
How to do call a output parameter from one action to another action??/
what is the smart identification techniqu?what r the different mechanisums used in it?
What is the use of Accessibility check point?
Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP
How can you pass value one action to another action?
how to re-install QTP 9.0 trial version.
how to record/identify the webedit box/object which have drop down list and its changing simultaneously in qtp..
1 Answers Synchronoss Technologies,
Waht is diff between SystemUtil.Run and invokeapplication