QTP Date Table Objects
来源:互联网 发布:node.js restful 框架 编辑:程序博客网 时间:2024/05/21 21:38
Associated Methods:
AddSheet Method
Variable=DataTable.AddSheet ("MySheet").AddParameter("Time", "8:00")
DeleteSheet Method
DataTable.DeleteSheet "MySheet"
Export Method
DataTable.Export ("C:/flights.xls")
ExportSheet Method
DataTable.ExportSheet "C:/name.xls" ,1
GetCurrentRow Method
row = DataTable.GetCurrentRow
Reporter.ReportEvent 1, "Row Number", row
GetRowCount Method
rowcount = DataTable.GetSheet("MySheet").GetRowCount
Reporter.ReportEvent 2, "There are " &rowcount, "rows in the data sheet."
GetSheet Method
MyParam=DataTable.GetSheet ("MySheet").AddParameter("Time", "8:00")
DataTable.GetSheet ("MySheet").AddParameter "Time", "8:00"
GetSheetCount Method
sheetcount = DataTable.GetSheetCount
Reporter.ReportEvent 0, "Sheet number", "There are " & sheetcount & " sheets in the Data Table."
Import Method
DataTable.Import ("C:/flights.xls")
ImportSheet Method
DataTable.ImportSheet "C:/name.xls" ,1 ,"name"
SetCurrentRow Method
DataTable.SetCurrentRow (2)
SetNextRow Method
DataTable.SetNextRow
SetPrevRow Method
DataTable.SetPrevRow
Associated Properties:
GlobalSheet Property
ParamValue=DataTable.GlobalSheet.AddParameter("Time", "5:45")
DataTable.GlobalSheet.AddParameter "Time", "5:45"
LocalSheet Property
MyParam=DataTable.LocalSheet.AddParameter("Time", "5:45")
RawValue Property
FormulaVal=DataTable.RawValue ("Date", "ActionA")
Value Property
DataTable.Value ("Destination", "ActionA")="New York"
DataTable.Value (2,3)="New York"
DataTable("Destination", dtlocalSheet)="New York"
- QTP Date Table Objects
- How QTP leans objects?
- QTP Utility Objects
- QTP操作之DaTa Table
- How QTP identifies objects during the run session
- 【软件自动化测试-QTP实战技能 24】== QTP Code_ Useing Description Objects
- QTP 6-9 QTP基础2 Environment Variables &Utility Objects & Checkpoints& Library Files
- 将Excel数据导入QTP Data Table
- QTP 读取页面table值到DataTable
- Number of days between two Date objects (Ruby)
- dnn Skin Objects(stored in the ModuleControls database table)
- 【软件自动化测试-QTP实战技能 22】== QTP_DP_for the DeskTop objects
- QTP
- QTP
- qtp
- QTP
- QTP
- QTP
- VBS实现加入域
- 如何配置PHP的开发和调试环境
- Mobile移动客户端程序访问Oracle服务器对象的方法
- 一位C++大师的博客:Stan Lippman
- C结构体对齐详解
- QTP Date Table Objects
- 针对 HTML 开发人员的 Adobe AIR 1.1 语言参考
- 在pl/sql中使用exp/imp工具实现oracle数据导出/导入
- 又一C#中将ListView数据导出为excel
- LWUIT + ChartComponent 之三实现柱体图(HBarChar)
- eCos的进程调度和管理
- Google发布GSAve 人人都能架设搜索服务器
- DunDas对应不同坐标系显示双y轴
- 利用脚本加入域和退出域