在使用qtp过程中,易遇到的问题

上一篇 / 下一篇  2009-02-25 17:31:34 / 个人分类:qtp

O(|1OQ5l"r4ck01. show error:"Thistestdoes not contain any reusable actions"51Testing软件测试网S)uy,]r DT^

^6j @1UC0你想把在test1中插入test2,用call to existing action的话,就要把test2设置为reusable actions
9N%|dV.Z3v@$[0方法就是用QTP打开test2,然后点test2 action 右键选择 action properties,在弹出来的窗口下面有个
g!Y j;j*i0reusable actions选项,将他打勾就,然后点确定,弹出提示不用管,点OK就可以了.51Testing软件测试网+H \y'Br9kZ"U` O~
下来就可以从test1中将入test2了!试试吧51Testing软件测试网 N/n!bMM

Y$d.](w?2P2YA']]02. invote funtion: such as add funtion51Testing软件测试网5\ @f d |

51Testing软件测试网-Yn4Z qv2K pU%^

addd(2,3)

@#c+K*v,j)u0_0

HNQ_:A$VM8G;W0funtion add(no1,no2)51Testing软件测试网,[~3QNy[0s*|2^
  dim no351Testing软件测试网(a0mKA4A
   no3 = no1 + no2

Bt\-^p%[:\2Z0

Y*ML R5gw6V03. how to add library to action51Testing软件测试网2D] U(l(b'T_%Ip|B2H
file menu ->setting -> resource.

4V#tjr^7^wve7p)]E051Testing软件测试网1tA1A3~8i|

4, When you move to the action to another area, pls follow the following ways:
5V;P PM[G}#o_9B01. add the origin Object repository
e7K1DF%e02. add funtion library below file menu ->setting -> resource.

R}U{g%`T0

TAG:

 

评分:0

我来说两句

日历

« 2024-03-04  
     12
3456789
10111213141516
17181920212223
24252627282930
31      

数据统计

  • 访问量: 226811
  • 日志数: 58
  • 文件数: 305
  • 书签数: 21
  • 建立时间: 2007-01-31
  • 更新时间: 2009-07-27

RSS订阅

Open Toolbar