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

When to use descriptive programming?

593


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1639


Explain Descriptive Programming Types with Examples?

925


How to use reporter.report event in qtp ?

557


Is it possible to merge two object repository files in qtp?

622






What is the syntax to call one action in another?

554


Dis advantages of XML checkpoint ?

1581


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

1479


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1816


How many types of Automation frameworks are there in UFT? Describe them.

559


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

1630


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

1630


How can you exit from an action?

612


How does quicktest professional identifies the object in the application?

555


How can you handle exceptions in qtp?

536