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
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
what is run action?
How will you test a stapler?
can u please explain what is the exact difference between qtp8.2 and 9.0
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
How to find Operating system information using QTP script?
what are the mandatory properties for a tex boxc (scenario?)
How does qtp identify objects in the application?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
How to modify the text checkpoint?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
can any body give the banking domain concepts/links
How do you convert manual test cases to automated test cases?
How to find the difference between 2 dates in qtp?
Write a script to customize the test results in PDF and HTML format.