how to get column count in datatable

Answer Posted / raju

colcount = datatable.GetSheet(Sheet name).GetParametercount

using above GetParameterCount u can get how many columns in
Datatable.

Is This Answer Correct ?    20 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we record using all the modes in a single script? Explanation with example is appreciated

1640


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2635


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

844


How many ways we can parameterize data in quicktest professional (qtp)?

833


Explain different types of action in qtp?

826


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1750


How many types of actions are there in quicktest professional?

763


How do we analyze the checkpoint results?

824


Explain quicktest professional (qtp) testing process?

767


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1640


Tell me one scenario, the complex functionality you have automated in your project?

1755


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

858


What Folder Structure following in Keyword Driven Frame work?

2524


How many ways we can parameterize data in quicktest professional?

780


What are the technics follow in writing VB script?

1735