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

Answer Posted / maniram

yes.. i think we can use it.
by default,QTP recognises the tablegrid with some 2
properties (say window name, window type).
When we record the first tablegrid, QTP identifies it with
the default properties.
When we have 2 windows of the same type, QTP takes into
consideration of the Ordinal Identifier (or assistive
properties if u have given any) to identify b/w the two.
So, if Ordinal Identifier or an assistive property is
defined for the tablegrid, one single table grid properties
in the Object repository is sufficient to go with the testing.

Any ideas on this are welcome
Maniram.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the XML file architecture ?

1555


Whats the realtime QTP testing process

1991


What are the different types of recording modes in qtp? Which will be used when?

571


Is QTP supports Unix. If yes, then how the test automation is done?

1728


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1494






How to find the length of the string in qtp?

581


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1375


Do you know how to connect database? Can you tell me the procedures?

551


How can you identify the browser and its information using the qtp script?

587


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1540


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1712


What is the syntax to call one script from another?

540


QTP script is not working on other's machine..

1537


desribe a situation where u faced a stressful situation and how did u cope with it

1411


Explain different types of action in qtp?

576