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


Please Help Members By Posting Answers For Below Questions

what type of framework u r using in ur organization

1846


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1824


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1730


How to find array size in qtp?

769


Explain different recording modes?

788


Explain about the quicktest professional (qtp) automation object model?

771


how will load the object during runtime?

1809


Tell me one scenario, the complex functionality you have automated in your project?

1724


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

822


How to find Operating system information using QTP script?

763


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1658


Which recording modes need more memory?

813


Explain types of output values?

749


How to save your test using quicktest professional?

753


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1578