QuickTest Professional (QTP) Question:

How to add a runtime parameter to a datasheet?

Tweet Share WhatsApp

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 PDF Read All 115 QTP Questions
Previous QuestionNext Question
How to retrieve the property of an object?Any limitation to XML Checkpoints?