- 博客(4)
- 收藏
- 关注
原创 [QTP] Retrieves the value of the cell in the specified row of the parameter in the run-time Data Tab
Description Retrieves the value of the cell in the specified row of the parameter in the run-time Data Table.Syntax DTParameter.ValueByRow(RowNum) Argument Type Description Row
2012-12-14 15:16:15 506
转载 QTP 参数化
QTP 的参数化,有以下几种方式:1、Datatable2、Test Parameter & Action Parameter3、Enviornment 变量首先,Datatable.这个是通过在QTP Datatable 中设定一组值然后通过代码读取1、在Datatable 新增一列参数,如“DTParam1”2、给DTParam1填入不同的值,如“Value1”, "V
2012-12-13 17:18:40 1103
原创 QTP 技巧集合
(1) 把数据存在QTP local sheetDim intCurrentRow : intCurrentRow = DataTable.GetSheet(2).GetCurrentRowDataTable.GetSheet(2).SetCurrentRow 2DataTable("UserName", 2) = "abc"DataTable.GetSheet(2).SetCur
2012-12-13 16:54:38 410
原创 [QTP]: 数组排序
Dim A(4)A(0)="1"A(1)="9"A(2)="3"A(3)="V"A(4)="B"dim SystemArray1 : set SystemArray1 = DotNetFactory.CreateInstance("System.Array")SystemArray1.Sort(A)
2012-12-13 12:48:46 452
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人