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 / vikas sachdeva

I think u can use SetToProperty Method for this.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

545


Explain about the test fusion report of quicktest professional?

529


How to interact tool & application build in QTP?

1460


Explain the concept of object repository & how qtp recognizes objects?

566


Explain more about the Test Fusion Report of QTP?

603






To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1442


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1738


What is the use of running the scripts in Hidden-mode in UFT?

680


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1424


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1563


How to find the length of the string in qtp?

576


What is the qtp testing process?

594


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1514


Shall we add Local Repository to shared object repository,if yes,how we add

5680


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1456