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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
I have a Webtable object in my shared object repository, say
WT1, which has different index value in 2 different
versions, one version having WT1's index value as 1 and
other version having WT1's index value as 2. how could i use
same test script to identify the WT1 object having different
index values.
 Question Submitted By :: Ishita Desai
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
Answer
# 1
u can go for regular expression
 
Is This Answer Correct ?    0 Yes 0 No
Badam
 
  Re: I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
Answer
# 2
How to define regular expression for index values of
Webtable. As far as my knowledge is concerned regular
expressions can be  given for property values. Please reply
if u have any idea about that.Thanks
 
Is This Answer Correct ?    0 Yes 0 No
Ishita Desai
 
 
 
  Re: I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
Answer
# 3
u r absolutely correct ishita
 
Is This Answer Correct ?    0 Yes 0 No
Badam
 
  Re: I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
Answer
# 4
Absolutely No. You can not do that. Remember index is an
ordinal property which QTP adds and this can not be viewed
when you spy on the object. You need to do the following logic
1. Create a description object for webtable
2. Get a collection of webtables on the page ( there will be
many)
3. Iterate through the collection and identify the Webtable
by some unique value in one of the cells
4. Exit the loop
5.The value of index of the iteration is index of WebTable.
6. QTP identifies WebTable by only its Tag <TABLE> so only
way it can identify a table is index.

If not clear then email me
 
Is This Answer Correct ?    0 Yes 0 No
Subhash Pasupuleti
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
IS standard check point is very important than the other check points in QTP? If so why?  4
What is the difference between functions and actions in QTP? Verizon2
how do we add a new sheet to data table in QTP? Wipro5
How will u find that how many List boxes( and check boxes) are present in one particular window  6
what are the 5 types of objects in qtp Wipro4
how to capture objects of remote deskop as it is capturing only window. Wipro1
WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?  2
how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function  1
How to Parameterize Object repository in QTP?  4
HOW DO U CALL A ACTION IN QTP? BirlaSoft1
How we will execute(run) the scripts in qtp 8.2?  1
Discuss QTP Environment.  1
How do we retrieve the content from a text box in a web page  2
I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loop,my checkpoint is going to fail sometimes.That failed results only I have to log in a file.How it's possible...pls give the solution for this? Wipro5
What is the difference between Normal mode and Fast mode ? AZTEC1
what is the exact Diff. Between Test and Component in QTP?  1
how do you done Data-driven test using MS-Word Instead of DataTable IBM3
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.  1
how many wayes we do the parameterization?  1
Explain the check points in QTP? Prapan-Solutions5
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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