How can we count the no of rows are available in a data
table ?

Answer Posted / mohibul islam

DataTable.GetRowCount - this is for Global DataTable
DataTable.GetSheet(sheetId).GetRowCount - this is for Local
DataTable

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of properties that quick test learns while recording?

526


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1928


How we can import data from database?

642


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2167


How to find Operating system information using QTP script?

565






I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

1675


What is text/text area checkpoint?

559


How often were they executed?

2029


Explain the parameter in qtp?

571


what is keyword driven testing in qtp?n how is it useful?

1481


How to customize checkpoints with parameters?

3013


Explain the concept of object repository and how qtp recognises objects?

520


Explain calling sub procedure.

616


how to download mercury qtp9.2 ny internet ?

2949


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2045