QuickTest Professional (QTP) Question:

Download Job Interview Questions and Answers PDF

How to add a runtime parameter to a datasheet?

QTP Interview Question
QTP Interview Question

Answer:

DataTable.LocalSheet
The following example uses the LocalSheet property to return the local sheet of the run-time Data Table in order to add a parameter (column) to it.
MyParam=DataTable.LocalSheet.AddParameter("Time", "5:45")

Download QTP Interview Questions And Answers PDF

Previous QuestionNext Question
How to retrieve the property of an object?Any limitation to XML Checkpoints?