Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



There are two tabs in the application suppose, A and B.On clicking the tab "A" one tabl..

Answer / 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

There are two tabs in the application suppose, A and B.On clicking the tab "A" one tabl..

Answer / vikas sachdeva

I think u can use SetToProperty Method for this.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

2 Answers  


How does you test a weblink which is changing dynamically?

0 Answers  


what is the extension of action script template?

7 Answers   Capco,


how can we know the program is testing by multiple test data in data driven frame work?

1 Answers   CTS,


how to test Web application using QTP software

0 Answers   Google,


What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example

2 Answers  


tell me QTP standards ?plz

0 Answers   Kanbay,


What is qtpro? What is quick test pro?

0 Answers  


How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


Can the user toggle between using Local OR and shared OR for the same action?

0 Answers  


how to post xml data from QTP scripts to any application?

0 Answers  


what is On Error Resume Next ?

1 Answers   Accenture,


Categories