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
Write a script to customize the test results in PDF and HTML format.
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
What is difference between run time object and test object?
What is test object model in quicktest professional (qtp)?
What is the differences between image check point and bit map check point?
How to add verification steps to tests?
give me the code to save all messages of inbox of gmail into a folder and notepad
How to handle the exceptions using the recovery scenario manager in qtp?
How to explain a banking project in interview as a test engineer???
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
Explain how you can delete excel file in qtp?
How do you check ticket cost and ticket number in flight application?
What is data driver in qtp?
Can we create user defined functions in qtp?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is