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 |
How did you resolve conflicts present in Object Repository?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
What is the difference between Global and Local Data Sheets?
What is the registration process and examination fees?
What is data driver in qtp?
Explain about the test fusion report of quicktest professional (qtp)?
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer
assume i have few url link how will i dynamically call then using descriptive programming?
explain all the check point in QTP?
How you handles Pop-up windows which are Dynamically changing in Runtime?
In Remote acess server how u run a test?
hi how could i get installation guide for QTP 9.0 on XP help me for this !!!!!