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 to create runtime property for an object?

Answer Posted / vistaraj

i agree to thirumala reddy.
to create runtime property for an object, we have to use
SETTOPROPERTY as following

'Set the Text property for 7 as Server
Window("Calculator").WinButton("7").SetToProperty
("text","Server")

Now check if the object has created runtime property or not
by GETTOPROPERTY

strText=Window("Calculator").Winbutton("7").GetToProperty
("Text")

msgbox "strText"

See that "Server" is displayed

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by iteration?

1153


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

2053


What environment does qtp run in?

1046


What are the Test design techniques you uses in ur project?

1924


If created one virtual object? Next time I changed the window position will it work?

1008


what is clean sweep?

2234


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1778


What is qtpro? What is quick test pro? What is a quick test professional?

1053


How do you test DLL files using automation Tool QTP?

3202


is it possible to add sheets to excel at runtime

3967


Where you are storing your script?

1057


How many types of Automation frameworks are there in UFT? Describe them.

989


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1352


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1994


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2363