Search code examples
javauser-interfacetestingrft

IBM RFT: Not starting application


I'm using RFT 8.2 with it's Eclipse Version but my own java program doesn't start within the RFT's recording function.

  • It's just a small GUI for RFT exploration purpose and I selected it's class in RFT application setup.
  • Of couse I can start it normally in Eclipse.
  • I can start the RFT's Testing Templates (ClassicsJavaA & ClassicsJavaB)

Tell me if you need any additional specific info. How can I fix this?


Solution

  • Problem is caused because the class is located in a package and the standard rft boot line doesn't address this circumstance.

    I solved it by writing the correct class path in the "path" lines and also writing the packagename before the class (like you would start the program with the CMD line).

    RFT Application Wizard:

    Path: C:\YourPath\bin (Eclipse Class folder)

    Class- Or Jar: package.packageTwo.KlassName