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 |
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b
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
What are the enhancements u did after recording ur script?
how will you load the test cases in ddt?
one page contain next button.when we enter that its not going to next page.what type of error that one.
what is a file system object in QTP
How to analyzing Test Results using QTP?
How Does Run time data (Parameterization) is handled in QTP?
difference between GetROProperty and GetTOProperty
1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent
how do we add a new sheet to data table in QTP?