ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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

 Question Submitted By :: Rayudu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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
Maniram
 
  Re: 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
# 2
I think u can use SetToProperty Method for this.
 
Is This Answer Correct ?    0 Yes 0 No
Vikas Sachdeva
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2. Accenture7
How can i open 5 multiple browser at once through QTP VB script  2
Synchronozation types in QTP  4
WHO TAKE DECISION TO RELEASE THE BUILD IGT1
we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome . TCS1
How did u write macros?What is the main importance of VB macros in testing environment?  1
how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help  3
where we are going to write the descriptive programming.for example we are invoking qtp application where we are going to write that code  3
if there r 10 windows open in QTP write a command to close all 10 windows at a time ? Wipro8
WHAT ARE THE DISADVANTAGES OF SHARED REPOSITORY? BirlaSoft8
Can we call a parameter from an action to other action?  4
what do u mean by test harnesses in qtp? Verizon1
1. Which function is used to check whether the specified object property achieves the specified value within the specified timeout below anyone is correct 1. Check Property 2. getToproperty 3. output Pls anybody can give the answer.. Thanks in advance... Navis1
what r the main benefits of automation?  2
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?  4
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP iLink2
What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?  1
what is stlc and its contents?  1
Batch testing in howmany ways u perfrom in QTP Lehman-Brothers3
CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com