【发布时间】:2015-06-08 06:47:40
【问题描述】:
我需要帮助来创建一个 testng`` scipt..
我创建了一个只包含@beforesuite 的类,其中包含打开应用程序的命令
@beforesuite
第二类包含3个方法
@test{method1}
@test{method2}
@test{method3}
第三类包含关闭应用程序的@AfterSuite...
@AfterSuite
如何编写一个xml文件来依次运行这些类..??
有没有更好的方法来编写脚本???
任何建议都会有所帮助。
提前致谢。
苏达瓦
【问题讨论】: