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

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/allinter/public_html/common/queries.php on line 15
Question
How can we count the no of rows are available in a data 
table ?
 Question Submitted By :: Krishnachand
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 1
I think it is getrowcount()
 
Is This Answer Correct ?    2 Yes 0 No
Krishnachand
[Sungard]
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 2
DataTable.GetRowCount()function usful for findout rows
(Contain Values)in the datatable.
 
Is This Answer Correct ?    1 Yes 0 No
Rao' Prasad
 
 
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 3
a)	Use this Get row account the in the table no of the 
rows account.
b)	Here the use of the, for loop.

My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in 
If any body want full explain send the mail
 
Is This Answer Correct ?    1 Yes 3 No
K.chandra Sekhar
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 4
All of you are correct, but i am adding one small change.
datatable.getsheet(SheetId).getrowcount
 
Is This Answer Correct ?    5 Yes 0 No
Uday Kumar_anem
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 5
DataTable.GetRowCount - this is for Global DataTable
DataTable.GetSheet(sheetId).GetRowCount - this is for Local 
DataTable
 
Is This Answer Correct ?    4 Yes 0 No
Mohibul Islam
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 6
Mohibul is exactly correct...
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 7
Mohibul is correct
 
Is This Answer Correct ?    0 Yes 0 No
Rafi
 
  Re: How can we count the no of rows are available in a data table ?
Answer
# 8
all of them are wrong
 
Is This Answer Correct ?    0 Yes 4 No
Bombay
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
what is the exact Diff. Between Test and Component in QTP?  1
I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.  1
how to tell about testing a website in interview using qtp?? what r the points to be covered mainly?  2
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri  5
I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here? Ordain-Solutions2
Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot  3
What is the difference between Functions and Action ?  1
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP. HCL1
Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated McAfee2
how to get the object property Covansys4
What r the advantages of automation?  3
What are Add-ins availble in licensed version QTP8.2 TCS1
When to use Descriptive programing? Wipro2
how can i replace any text from the qtp script with some anothere text Livetek1
How to handle exception when data table is not available in local host system or path is not correct(explain statement with example)  1
in QTP, we have options like (record and play,recording modes(normal,analog,low level),object identification,smart identification,object repository,synchronizing test,transactions,checkpoints(std,bitmap,text,text area,DB,XML,accessibility),regular expression,actions,data driving,parameter,parameterization,data tables,recovery scenario(pop up,object state,test run error,application crash). real time users of QTP, pls say and when and at what point u have used all these options ,in ur concerned project.pls give me explanation in accordance with ur real time project handled. real users pls send some time in the aboue case. if u can send the the reply through allinterview or at ref_it_ref@yahoo.co.in  1
write the code to reverse a string without using Strrev built in function. ADP5
How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?  2
What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?  1
How to compare source and target database in testing? Can anybody please tell me in detail the procedure how to compare it?  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