所以我想问有什么方法可以搜索QC中不同目录下的Action动态调用呢?从而摆脱手工插入。 给点思路也行-.-! 先谢谢各位了!作者: luoqun_520 时间: 2009-7-30 11:14
除非你用Function代替Action,这样不仅Action不大,而且也不用重复手动调用作者: dabeixiong 时间: 2009-7-30 23:44 标题: 回复 2# 的帖子 我感觉用Function调无非还是使用QTP的RunAction方法,结果还是会把所有复用的Action插到我测试中变成External Action...
如果不插入的话直接写 Runaction + Action name 又会出错,我查了查帮助,参见:
Note: Before you can use the RunAction statement in the Expert View for an external action, you must first call or copy the external action into your test by choosing Insert > Copy of Action or Call to Action. If the external action does not exist in your test, the RunAction statement is not recognized. For more information on copying or calling external actions, refer to the QuickTest Professional User's Guide.