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
How to get all the objects count and objects names in 
webpage using QTP ?
 Question Submitted By :: Vinodkv
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to get all the objects count and objects names in webpage using QTP ?
Answer
# 1
u can count the objects in a webpage by using childobjects 
method

set childobjs=Browser("BrowserName").Page
("PageName").childobjects
total=childobjs.count
msgbox total
n i don't know how to get the names...sorry..if u know 
plese let me know
 
Is This Answer Correct ?    0 Yes 0 No
Chandu
 
  Re: How to get all the objects count and objects names in webpage using QTP ?
Answer
# 2
Hi Chandu,

ChilObjs=Browser("BrowserName").Page
("PageTitle").Childobjects
tol=Chilobj.count

for i = 0 to UBound(tol)

a =chilObjs(i).Name
print a

Next
 
Is This Answer Correct ?    1 Yes 1 No
Chivukula.kumar
 
 
 
  Re: How to get all the objects count and objects names in webpage using QTP ?
Answer
# 3
Hi kumar...
thanx for ur response man.. 

r u working on QTP..if yes can i hav ur email id..so that 
if i get any doubts i'll get in touch with u..

Thanks in Advance

Chandu
 
Is This Answer Correct ?    0 Yes 0 No
Chandu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Hello Everybody, Please tell me can we create Test Plan in QTP? This I am asking irrespective to integrating with Test Director.I mean is there any option to create Test Plan in QTP itself. Thanks, Gaytri  4
Explain about merging of two repositories?  3
How can we get a textcheckpoint in QTP9.1? EmTechPro2
How u call functions in QTP Lehman-Brothers4
what are the functions availabla in QTP? what are the data types in QTP? Spry-Technologies2
How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?  1
from where we will retrieve data for data driven tests in qtp?  3
How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it? Livetek3
how to do regression testing in qtp? plz give ans with examples TCS3
can we use QTP for load testing instead of load runner?  3
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself TCS4
how can we group that these test cases only should be automated and in which order you execute that test cases? BSL2
Can anybody give the script of below things. 1. Add sheet 2. Adding columns 3. Set the values in that columns(In the rows) 4. Close the sheet 5. How can we create 3 sheets in one Excel sheet?? TCS2
In QTP what is the difference between Step-in, Step-out, Step-over ? CTS3
How to use custom checkpoints in QuickTest Professional? TCS1
how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this. Accenture2
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take? ADP1
in qtp how can we do test when the build is not ready Mindlance2
is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?  2
For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in  3
 
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