passing RFT tests between different RFT versions
We have 2 installations of RFT : 8.3 and 8.5.1
How can we run each other tests ? -
i get error when i try running exported 8.3 version on my 8.5.1 application :
Could not find a Tree role attribute for the object.
com.rational.test.ft.ObjectNotFoundException
at com.rational.test.ft.object.interfaces.ClientTestObject.invokeProxy(ClientTestObject.java:411)
at com.rational.test.ft.object.interfaces.StatelessGuiSubitemTestObject.click(StatelessGuiSubitemTestObject.java:166)
at Script4Eyal.testMain(Script4Eyal.java:34)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
at org.eclipse.core.launcher.Main.main(Main.java:34)
One answer
Hi, Eyal
This is a pure RFT issue and it is not under jazz.net forum for a discussion.
Please try RFTGUI testing forum in IBM developerWorks community to discuss this issue further.
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000322
If you have any questions in using RQM to test RFT script or using RQM's RFT Adapter, you may want to post the questions here.
Regarding your exported scripts from 8.3 in RFT 8.5.1, normally you may want to check
1) whether you have enabled the relevant environment(Java, browser etc) in 8.5.1.
2) it is general problem or specific to your scripts. For example, if you record a simple script in 8.3 against Sample JavaA, and then import into 8.5.1, do you see any issue or not. If not, you can focus on the specific script only
3) What is your testing application, OS, Java version, browser and version for both 8.3 and 8.5.1 and if they test against the same application or not, as these affect the playback result in general, when you post your questions in the above RFT forum, if you include all the info in the 3 points in your questions, it will help others to understand the issue better and you will have better chance to receive a quick response from other users.
Thanks
This is a pure RFT issue and it is not under jazz.net forum for a discussion.
Please try RFTGUI testing forum in IBM developerWorks community to discuss this issue further.
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000322
If you have any questions in using RQM to test RFT script or using RQM's RFT Adapter, you may want to post the questions here.
Regarding your exported scripts from 8.3 in RFT 8.5.1, normally you may want to check
1) whether you have enabled the relevant environment(Java, browser etc) in 8.5.1.
2) it is general problem or specific to your scripts. For example, if you record a simple script in 8.3 against Sample JavaA, and then import into 8.5.1, do you see any issue or not. If not, you can focus on the specific script only
3) What is your testing application, OS, Java version, browser and version for both 8.3 and 8.5.1 and if they test against the same application or not, as these affect the playback result in general, when you post your questions in the above RFT forum, if you include all the info in the 3 points in your questions, it will help others to understand the issue better and you will have better chance to receive a quick response from other users.
Thanks