51Testing软件测试论坛

标题: WinRunner:Using function generator in a compiled module [打印本页]

作者: pcl2004_27    时间: 2006-10-25 14:00
标题: WinRunner:Using function generator in a compiled module
Description

      How can you use function generator functions in a compiled module?


Solution

      Using function generator functions in a script should be done inside of a function. You can add a line at the bottom of the script outside of the function that will invoke the functions. Make this script a compiled module, then reload it from tslinit, so it will be loaded everytime winrunner is invoked. Attached is an example of how we have used this script. Because there are serveral AUT which have large numbers of functions to add, we have divided our functions by AUTs.




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2