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
How you can replace string in qtp?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
When do go for loop condition in test?
Why is action split used by qtp?
What is the purpose of loading qtp add-ins?
regular expression in qtp standar check point for months from accepting months from january to december only
What is the recovery scenario in qtp?
What are the types of object repository in qtp?
How do you send email with attachment from outlook using qtp ?
I want to do QTP Certification what is the pattern of Question paper.
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
What is text check point and text area check point?
what is the structure for the data driven framework
How can you send user defined messages to test report?
What test you perform mostly? Regression or retesting in your testing process?