How to retrieve the property of an object in QTP?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How do you start automating/ writing your QTP scripts ?
There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me
HI! I have completed my testing course in 2008. but now am working in banking sector as a data analyst and i want to move to an IT based company but am unable to understand whether i have to complete the testing course again and try for a job .
I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.
What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance..
Can we test internet application using QTP?
In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit?
I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here?
Explain about Hybrid Framework
describe common problems of test automation?
what is the main process in QTP?
How to Analyze the Checpoint results by Standard Checpoint?