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 type of problems one will face with QTP , if too many browsers are opened at a time?
i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
How do we create and run the scripts with out using O.R. ?
Tell me few important difference Between QTP and WinRunner?
What is the difference between keyword view and expert view?
What issues come up in test automation, and how do you manage them?
I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?
what is advantage of descripting programming in QTP?
What are the main attributes of test automation?
what is the advantages and disadvantages of using functions instead of re usable actions
Can u tell me example for virtual objects?
Can anyone explain about Keyword driven framework in detail and how to use it in case of any project