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 to carry out bit map check points in QTP
What is quick test pro? What is a quick test professional?
What is the use of text output value in quicktest professional (qtp)?
how to explain a claims and insurance project?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
write a script to verify the image path(src property) of the images which are in web pages.
How is the Bitmap checkpoint different from Image checkpoint?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
In qtp, how you can remove the spaces from string?
What are the check points can be inserted without recording?
What is keyword driven framework?
Are Shared ORs read-only?
which type of testing process are you following in ur company? how to recognize a qtp page?
What is method name to compare two XML files.
How do you check ticket cost and ticket number in flight application?