QTP中Datatable部分是由两部分组成的:Global表和对应于每个Action的local表。 Global表就是指全局的表,对每个Action都起作用; Action表只对这个Action本身起作用,每个Action都有一个对于本身Action的表; 计算整个程序跑多少次的时候是通过Datatable中Global需要跑的次数乘以Action中的需要跑的次数。 例如Action1里有4条数据需要跑 1.如果gobal设置循环一次,action循环所有的,那么此时把action中所有数据取出 2.如果goble和action设置循环都只是一次,那么此时就只取action的第一条数据 3.gobal不受action的设置的影响
这是代码控制action
Dim i,currentValue i = 1 While i<= 3 Rem To find the value, you dan apply any of the following two fuctions : Rem DataTable.Value(ParameterID [, SheetID]) or DataTable(ParameterID [, SheetID]) currentValue = DataTable.Value("LProductInfo","Action1") Rem currentValue = DataTable("LProductInfo","Action1") Browser("Login Page").Page("Page_3").Image("spacer").FireEvent "onmouseover" Browser("Login Page").Page("Page_3").Image("spacer").Click Browser("Login Page").Page("Page_4").WebButton("Create").Click Browser("Login Page").Page("Page_5").WebEdit("#form.name").Set currentValue Browser("Login Page").Page("Page_5").WebEdit("#form.productNo").Set currentValue Browser("Login Page").Page("Page_5").WebEdit("#form.spec").Set currentValue Browser("Login Page").Page("Page_5").WebEdit("#form.unit").Set currentValue Browser("Login Page").Page("Page_5").WebButton("Save").Click wait(2) DataTable.GetSheet("Action1").SetNextRow i = i+1 Wend
相关推荐
Construction of panoramic mosaics with global and local alignment 教材
global和local学习资料,相关步骤及资料等。
本文档包括globl参数行数,Local参数行数。可以更具其文档数据进行测试。
基于RX算法的高光谱异常检测MATLAB实现(global和local)
k⇤-Nearest Neighbors- From Global to Local,在第二作者的主页上有源码,github上也有,https://github.com/kfirkfir/k-Star-Nearest-Neighbors
自动化测试local软件测试工具QTP参数化global和local的区别MercuryQuickTest企业级自动化测试工具!目前已经被惠普收购,正式名字为HPQuickTestProfessionalsoftware,最新的版本为HPQuickTestProfessional10.0....
Local Accuracy and Global Consistency for Efficient Visual SLAM
Global and Local Contrast Adaptive Enhancement for Non-uniform Illumination Color Images
在这篇论文中,他把上述过程描述为:使用现有大量图片数据来训练我们提出的模型,目的是使用 CIE lab颜色空间来预测灰度图像的chrominance(任意一种颜色与亮度相同的一个指定的参考色之间的差异)。
k-nearest-neighbors-from-global-to-local
第25篇-QTP数据表Global与Local 第25篇-QTP数据表Global与Local
CVPR论文
code for face identification by analysing local and global features
基于局部集合卡尔曼滤波器的状态、全局和局部参数估计混沌动力学在线机器学习的应用_State, global and local parameter estimation using local ensemble Kalman filters applications to online machine learning ...
This is the "Active contours driven by local and global intensity fitting energy with application to brain MR image segmentation" (referred to as LGIF model) of the MATLAB source code. LGIF model is ...
该篇是对CoupleNet论文的解读,以及自己的一些看法,若有 不同希望指出。谢谢
python基础_13_全局_&_局部变量,_global_&_local_(教学教程tutorial)