you never doubt youself,I belive!
Tips: Operator DataTable in QTP
上一篇 /
下一篇 2009-09-19 16:26:10
/ 个人分类:QTP
Tips: Operator DataTable in QTP
1.How to get cloumn name in datatable
datatable.GetSheet("Global").getparametercount 'capture the count of parameter
datatable.GetSheet("Global").getparameter(CLOUMN_NAME).name 'capture the column name of cloumn
2.Capture current row in datatable
DataTable.GetSheet("Global").SetCurrentRow(i)
3.add the value
DataTable.Value("Data","Global") = "Hello"
5. add parameter
DataTable.GetSheet("MySheet").AddParameter "data", variable
收藏
举报
TAG: