Interview Questions

How to add a runtime parameter to a datasheet?

QuickTest Professional (QTP) Questions and Answers


(Continued from previous question...)

How to add a runtime parameter to a datasheet?

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")

(Continued on next question...)

Other Interview Questions