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                      
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
HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
 Question Submitted By :: Ganesha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
Answer
# 1
syn:

x=object Hirarachery. GetContent

ex: 
sRegKeys = Window("Registry Editor").WinListView
("SysListView32").GetContent
 
Is This Answer Correct ?    1 Yes 0 No
Raju
 
  Re: HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
Answer
# 2
well for this the simplest answer is add that object on 
Object Repository and then use the property getRoProperty
("itemscount")

Example::

weblist.getRoProperty("itemscount")
 
Is This Answer Correct ?    6 Yes 0 No
Shobhit Kaul
 
 
 
  Re: HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
Answer
# 3
sorry for the 1st answer

using getitemscount method we can get how many items 
present in the weblist


ex: a=window("name").wincombobox("name").getitemscount
msgbox a

if u have any quarries please ask to us.

Raju & Prasad
9823257761 & 9764156846
 
Is This Answer Correct ?    3 Yes 0 No
Raju & Prasad
 
  Re: HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
Answer
# 4
Hi Raju..its good answer.

keep answering..

Nanda
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
Answer
# 5
itemcount=Browser("browser name").page("page
name").weblist("web list name").GetRoproperty("items count")
msgbox itemcount
 
Is This Answer Correct ?    5 Yes 1 No
Msnreddy
 
  Re: HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
Answer
# 6
s=Browser("browser name").page("page
name").weblist("web list name").GetRoproperty("items count")
msgbox s
we get number of items.
 
Is This Answer Correct ?    3 Yes 1 No
Sateesh
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
I am just a beginner in QTP. Could any one explain me in detail how to automate adding two numbers and getting the result in QTP. Also I would like to parameterize the inputs. I have tried but getting an error like 'Can't use sub.....'(can't recollect the exact error)  2
QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?  1
If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?  4
What are the versions of qtp,What are the differences b/n them? TCS1
what testing activities u may want to automate in a project?  1
what are the mandatory properties in qtp? what are the library functions in qtp? Wipro3
from where we will retrieve data for data driven tests in qtp?  3
How can we make a shared object repository in QTP 9? Ordain-Solutions3
in howmany ways you perfrom batchtesting Lehman-Brothers5
what is the extension for the test version of the script? TCS4
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting  9
how you update scripts in qtp?  1
can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?  2
Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where. Microsoft8
Explain the keyword createobject with an example.  1
After coming to know that QTP could not identify non-standard objects, we set those non-standard objects as virtual objects using Virtual object wizard. But how can we identify that qtp could not identify non-standard objects?  6
How did u write macros?What is the main importance of VB macros in testing environment?  1
what is a test strategy & what is the difference between test strategy & test plan?  4
How can we count the no of rows are available in a data table ? Kanbay8
Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.  1
 
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