how to get column count in datatable
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vishakha
ColCount = DataTable.GetSheet(dtGlobalSheet).GetParametercount
msgbox colcount
OR
ColCount = DataTable.GetSheet(1).GetParametercount
msgbox colcount
| Is This Answer Correct ? | 3 Yes | 5 No |
In Test Director , You can store Test cases or vb Script . Why we need VSS?
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)
If you use low level recording,what objects will be recorded in Object Repository and what properties?
In qtp, explain what is keyword driven automation framework?
How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script
Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com
What is the parameterization? Give one example?
How can we use the "CreateObject("Wscript.Shell")" in QTP and what is the definition and purpose of it?
How to export data present in Datatable to an ".xls" file?
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
How to create a standard checkpoint ?
What is quicktest professional (qtp)?