I want to check in the data table(Globalsheet) column exist
or not through script .If column not exist only proceeded
to next step Pls tell me how to proceeded?
Answer Posted / garywu
Public Function existColumn(byval Sheetname,byval ColumnNum)
paramcount = DataTable.GetSheet
(Sheetname).GetParameterCount
If ColumnNum>paramcount then
existColumn=False
else
existColumn=True
End If
End Function
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
what is the difference between modular framework & datadriven framework
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How to save your test using quicktest professional?
How many tabs are available to view your test in a test pane and what are they?
Diff b/w Health care domain and Banking Domain?
How you can find length of array in qtp?
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
How to handle Java tree in QTP?
Explain the differences between table and db checkpoints?
how do i know how to use tools
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
What is optional step in qtp? How you can add optional step in qtp?
What is clean sweep?
what is command for executing files?
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?