我把代码和脚本都贴出来吧
代码:
package AppObject;
import resources.AppObject.getterHelper;
import com.rational.test.ft.*;
import com.rational.test.ft.object.interfaces.*;
import com.rational.test.ft.object.interfaces.SAP.*;
import com.rational.test.ft.object.interfaces.WPF.*;
import com.rational.test.ft.object.interfaces.dojo.*;
import com.rational.test.ft.object.interfaces.siebel.*;
import com.rational.test.ft.object.interfaces.flex.*;
import com.rational.test.ft.object.interfaces.generichtmlsubdomain.*;
import com.ibm.rational.test.ft.object.interfaces.sapwebportal.*;
import com.rational.test.ft.script.*;
import com.rational.test.ft.value.*;
import com.rational.test.ft.vp.*;
public class getter extends getterHelper
{
/**
* Script Name : <b>getter</b>
* Generated : <b>Mar 12, 2010 11:15:37 AM</b>
* Description : Functional Test Script
* Original Host : WinNT Version 5.1 Build 2600 (S)
*
*/
public void testMain(Object[] args)
{
setSimplifiedScriptLine(1); //// TODO Insert code here
// TODO Insert code here
}
}
错误代码:
java.lang.NoClassDefFoundError: com.rational.test.ft.util.FtDebug (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at com.rational.test.ft.util.FtDebug.debug(FtDebug.java:180)
at com.rational.test.ft.sys.LoadNative.load(LoadNative.java:105)
at com.rational.test.ft.sys.GACUtility.<clinit>(GACUtility.java:23)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.rational.test.ft.application.RationalFtMain.performStaticInitialization(RationalFtMain.java:471)
at com.rational.test.ft.application.RationalFtMain.main(RationalFtMain.java:220)
at com.rational.test.ft.application.CommandLineApplication.run(CommandLineApplication.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.rational.test.ft.rational_ft.startFT(rational_ft.java:270)
at com.rational.test.ft.rational_ft.main(rational_ft.java:185)
Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\IBM\SDP\FunctionalTester\bin\rtxivsys.dll (Invalid access to memory location. )
Attempting to load libftsys.so:
C:\Program Files\IBM\SDP\FunctionalTester\bin\libftsys.so (The specified module could not be found. )
Attempting to load libftsys.jnilib:
C:\Program Files\IBM\SDP\FunctionalTester\bin\libftsys.jnilib (The specified module could not be found. )