QTP中如何将一个脚本导入另外一个脚本

2025-03-06 19:35:33
推荐回答(2个)
回答1:

一般你可以用
Insert ->Call to copy of Action
Insert ->Call to Existing Action
两者是有区别,你试一下就知道。
不过前提是你要导入的脚本要设置为Reusable action。方法:Edit ->Action -> Action Properties -> General, 在下面有一个Reusable action 打上勾就可以允许别的脚本导入这个脚本

回答2:

Insert -> Call to copy anction