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 |
Write a QTP script to enter a keyword in to Google search engine?
Have you done batch testing in qtp? If yes how you are doing?
want to learn real time automation project(QTP)?
what is review
What are the key points to create a framework in QTP for oracle forms?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
Why do we use text checkpoint as we can make use of the same in the standard check point?
What are the differences between qtp and winrunner?
request to add whatsapp grp for test engineer
Can anybody post some real time scenario in qtp? please its very urgent.
Why do we go for Qtp? What are the advantages of qtp? Diff between winrunner and Qtp?
Where we use data driver in qtp?