The xls contain data. how to get number of columns form
the sheet?

Answer Posted / basha

for global sheet

rowcount=datatable.globalsheet.getrowcount
msgbox (rowcount)


for action sheet

rowcount=datatable.localsheet.getrowcount
msgbox (rowcount)

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in brief about the qtp automation object model (aom).

570


What is a data driven test in qtp?

597


what is run-time data?

1703


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1453


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

600






banking domain description for software tester for interview

3473


Is qtp supports uni-code?

622


What the differences are and best practical application of Object Repository?

594


What are the different attributes used with regular expression?

555


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

1508


What is the extension of qtp local repository?

583


How to modify object property in qtp ?

567


How to creating an output value using quicktest professional (qtp)?

579


Explain actions in qtp ?

564


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1413