How do you change Logical Name of the object in test script?
Answer Posted / nanda
by using SetTOproperty u can change logincal name of test
object..
For example..in first build there is a OK button..and u
reorded on OK button..
but in modified build it changed to Yes..and this
modificatio is only for single build...in this situation u
need to change that button name OK to Yes
window("XXXX").winbutton("OK").SetTOProperty "Text","Yes"
like this u can change any property of test object..and
remember that u can not a property value of Run Time object.
If any Queries..
Nanda.dreddy@gmail.com
| Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
How can i check items sorted or not in a weblist ? Give me the script for this...
How to handle Java tree in QTP?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
What is the Command used to start the QTP
What are the Disadvantages of shared object repository?
What is keyword driven framework?
What is quicktest professional?
Have you done batch testing in qtp? If yes how you are doing?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
Where you are storing your script?
what frame work you are following?
Is it possible to change the property value at runtime? How it is possible?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
Can any one send me the QTP Basic Coding Samples?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)