문제

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?

도움이 되었습니까?

해결책 2

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

다른 팁

You have not mentioned how exactly you are trying to start your application(How have you configured your application , what is the type of your application) Using the RFT's "Configure Application for Testing" wizard you can add a java application (if you want to execute a JAR application) or you can add ane Executable (EXE) if your application is in EXE form.

If the application you want to run is a class file thn you can configure "java.exe/javaw.exe "in the applicaton wizard and the give the name of the class as an argument .

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top