Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can i check items sorted or not in a weblist ? Give me the script for this...

2039


How to handle Java tree in QTP?

1342


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..

2220


What is the Command used to start the QTP

1959


What are the Disadvantages of shared object repository?

1134


What is keyword driven framework?

1093


What is quicktest professional?

1033


Have you done batch testing in qtp? If yes how you are doing?

931


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

1217


Where you are storing your script?

1096


what frame work you are following?

1936


Is it possible to change the property value at runtime? How it is possible?

1034


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1901


Can any one send me the QTP Basic Coding Samples?

2089


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)

1713