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 retrieve the property of an object in QTP?

Answers were Sorted based on User's Feedback



How to retrieve the property of an object in QTP?..

Answer / ravichadnranath

using Getroproperty("text") we will find out the what ever
object properties u want other wise by using object spy
also we will get object properties

Is This Answer Correct ?    5 Yes 1 No

How to retrieve the property of an object in QTP?..

Answer / kiran.b

gettoproperty("text")

=to get the property from the qtp , which it is using at
run time.
or

getroproperty("text")
=to get the property from the application , which itis at
the run time.

Is This Answer Correct ?    9 Yes 6 No

How to retrieve the property of an object in QTP?..

Answer / rohit

gettoproperty("text")


To get the property from the qtp , which it is using at
run time.

correct me iff i am wrong

Is This Answer Correct ?    4 Yes 1 No

How to retrieve the property of an object in QTP?..

Answer / nanda

Kiran is correct..here TO means Test Object and RO means
Runtime Object.

Is This Answer Correct ?    3 Yes 1 No

How to retrieve the property of an object in QTP?..

Answer / prathyusha

To get the property value of run time object we can go for GETROPROPERT..Runtime object means object which is there in application.
To get the property value of test object we can go for GETTOPROPERTY.Test object means the object which is there in repository.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what could go wrong with test automation?

0 Answers  


Can any body please tell me the steps of keyword driven framework of QTP.

0 Answers   TCS,


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

0 Answers  


regular expression

2 Answers   Wipro,


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error

6 Answers  


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

0 Answers   TCS,


QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?

1 Answers  


What is the process of synchronizing qtp and aut?

0 Answers  


How will internal and external links be validated and updated? how often?

0 Answers  


What is keyword driven testing..what is the use of this in Automated testing

2 Answers   IBM,


if full in Object Repostoiory then how to load other Object Repository

2 Answers  


Categories