Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
I just installed the trial version of “Test Advantage for Windows Forms (IBM)” and am trying to run the sample project on Rational Functional Tester (Version 7.0.1.1). On playback on RFT, I see the error below:
exception_name = com.rational.test.ft.script.RunException
exception_message = Error launching [C:\Documents and Settings\All Users\Documents\Infragistics\TestAdvantage for Windows Forms (IBM) 2008 Vol. 3 CLR 2.0\Samples\TestApplication\bin\Collapsible Navigation Pane CS.exe] in working directory [C:\Documents and Settings\All Users\Documents\Infragistics\TestAdvantage for Windows Forms (IBM) 2008 Vol. 3 CLR 2.0\Samples\TestApplication\bin\]: %1 is not a valid Win32 application.
script_name = MainScript
script_id = MainScript.java
line_number = 43
exception_stack = at com.rational.test.ft.script.ScriptUtilities.run(ScriptUtilities.java:123)
at com.rational.test.ft.script.ScriptUtilities.run(ScriptUtilities.java:74)
at com.rational.test.ft.script.RationalTestScript.run(RationalTestScript.java:2814)
at MainScript.myCallScript(MainScript.java:43)
at MainScript.testMain(MainScript.java:52)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Hi,
Welcome to Infragistics Forums. The error message claims that the sample exe "is not a valid Win32 application." Can you verify that the folder "C:\Documents and Settings\All Users\Documents\Infragistics\TestAdvantage for Windows Forms (IBM) 2008 Vol. 3 CLR 2.0\Samples\TestApplication\bin\" exist and you can run the sample application exe from Windows Explorer.
If the file cannot be run, can you verify the version number of the file and the version number of the Infragistics assemblies located in that folder.
Thanks,
Ammar
Yes, "C:\Documents and Settings\All Users\Documents\Infragistics\TestAdvantage for Windows Forms (IBM) 2008 Vol. 3 CLR 2.0\Samples\TestApplication\bin\" exists and I can run the sample application exe file from Windows Explorer.
Creating a new workspace threw the same error when running the sample test project.
But, creating a new test project and recording & replaying on the sample application worked. Since that confirms the product is installed properly, that should be sufficient for me to start using it against my application.
Thanks for your help!
Try creating a new Workspace and re-connect to the sample Test Project.
I've seen a number of cases where the workspace we corrupted and when the user creates a new one everything works fine.
Also try creating a test project and record and replay on the sample application. If that works then the product is installed properly.
-Ammar