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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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'm facing this problem while automating my 
application..its a web based apps..
In my application there are few webtables are displaying in 
the page.In the different cells there are links and action 
buttons.Problem is there is link in different web tables 
corresponding to one name.Hence the properties of the 
objects(say a link) are same except the x,y co ordinate of 
the object.So my script is not able to distinguish between 
the two links present in different cells of web tables with 
same name.Kindly help on this..
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..
Answer
# 1
Please use Index property to solve the proble,
 
Is This Answer Correct ?    0 Yes 0 No
Ashis
 
  Re: I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..
Answer
# 2
Since your web tables are having unique names, you can use 
the GetCellData(rowId, columnId) method to get the text you 
are looking for and compare with the actual. If the string 
is also same then you can use the ChildItem (Row, Column, 
MicClass, Index) method of the webtable to get the exact 
item you are looking for and work with that.
 
Is This Answer Correct ?    0 Yes 0 No
Feroz Louis
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the life cycle of QTP? Pls Give me Exact answer? Google3
wt is memory leakage? BSL5
How to capture dynamic objects in qtp like mark up text  2
How u perform Batch Program in QTP?  1
What are the enhancements u did after recording ur script?  1
Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window  3
how can we test load time of an page in webtesting? Ordain-Solutions2
How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab? Cap-Gemini2
How QTP recognizes Objects in AUT? Blue-Star5
in howmany ways you perfrom batchtesting Lehman-Brothers5
What is API?  1
HI ALL I AM WORKING AS A AUTOMATION ENGINEER FROM PAST 2 MONTHS IN QTP,MY QUESTION IS IF I OPEN THE BROWSER FIRST & THEN THE QTP LATER MY OBJECT SPY WILL NOT WORK,Y IT IS SO..IF U HAVE THE ANSWER PLZ MAIL ME AT AKSHAR.MYSORE@GMAIL.COM Infosys4
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful  2
can we test an windows application using qtp  1
In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot Quest1
what is testing process with QTP in organization Tech-Mahindra1
How can we test an XML using QTP? I have been to an interview, where they have given me an XML which had 15 values and they have given those values on a separate page. They asked me to write a QTP script to check the XML is having those particular 15 values.  2
When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of browser and also it does not show all the hierarchy tree of that particular web page. 1. Window("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") 2. As everybody knows it should be browser("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") I am using the windows vista, do you think it may be a problem of my settings in QTP or problem of my installation. Your kind responses will be appreciated. Thanks in advance. Satya  7
what is Compile Module in QTP? what exactly it contains Functions or Actions? GE2
What is the dis advantage of check points in QTP, if any? BirlaSoft3
 
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