|
我在运行脚本是,silktest不能自动启动我的待测软件(java的),并且报错 :
SilkTest monitor has started listening AWTEvents
QapSwingMonitor started
QapOption AwtGui started set
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Prop
ertyConfigurator
at com.accelicon.modelbuilder.ModelBuilder.<init>(Unknown Source)
at com.accelicon.modelbuilder.ModelBuilder.main(Unknown Source)
请问这个问题该如何解决? 我的silktest是2009 evoluation 版本
我的*.t 文件内容:
[-] testcase simplecase ()
[ ] MBPCProjectNewProject.SetActive( )
我的inc文件内容:
[ ] const wMainWindow = MBPCProjectNewProject
[ ]
[-] window JavaMainWin MBPCProjectNewProject
[ ] tag "MBP-*"
[ ]
[ ] const sDir = "C:\Accelicon\modelbuilder"
[ ] const sCmdLine ="C:\Accelicon\jdk1.6.0_01\bin\java -classpath .;../../jdk1.6.0_01\jre\lib\ext\Silktest_Java3.jar;./jdom.jar;./jlib/measure.jar;./jDrJava.jar;./jcommons-logging-1.1.jar;./jlog4j-1.2.11.jar;./mbuilder.jar;./tasktree.jar;./eqviewer.jar;./equations.jar;./JEF/JavaEngine.jar;./dataprocess.jar;./jython.jar;./tools.jar -Xmx200M -Xms50M -DMODELBUILDER_HOME=""C:\Accelicon\modelbuilder"" com.accelicon.modelbuilder.ModelBuilder"
[ ]
[ ] const nInvokeTimeout =150
[ 本帖最后由 ele11en 于 2010-5-13 09:30 编辑 ] |
|