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 a reusable action?

576


What is the process of synchronizing qtp and aut?

567


What is post recovery scenario?

1646


What are the automation metrice in your project?

1713


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

619






In qtp, explain what is crypt object

596


Explain quicktest professional (qtp) testing process?

537


What is synchronization? What are the ways you can synchronize?

652


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2179


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1716


explain keyword driven framework with banking domain?

1561


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

624


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1445


What is the meaning Work bench?

1759


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2196