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

上一篇 / 下一篇  2008-12-30 17:10:15 / 个人分类:软件测试

1. show error:"This test does not contain any reusable actions"

你想把在test1中插入test2,用call to existing action的话,就要把test2设置为reusable actions
方法就是用QTP打开test2,然后点test2 action 右键选择 action properties,在弹出来的窗口下面有个
reusable actions选项,将他打勾就,然后点确定,弹出提示不用管,点OK就可以了.
下来就可以从test1中将入test2了!试试吧

2. invote funtion: such as add funtion

addd(2,3)

funtion add(no1,no2)
  dim no3
   no3 = no1 + no2

3. how to add library to action
file menu ->setting -> resource.

4, When you move to the action to another area, pls follow the following ways:
1. add the origin Object repository
2. add funtion library below file menu ->setting -> resource.


TAG: 软件测试

 

评分:0

我来说两句

Open Toolbar