Java 使用 UFT 实现 FX 自动化
Java FX automation using UFT
请建议是否有任何方法可以使用 UFT 12.02 自动测试 Javafx 应用程序,因为 UFT 无法识别 JavaFx 应用程序中的对象。
提前致谢。
快速 Google search 之后,您会发现 UFT 不直接支持 JavaFX 应用程序。
答案的简要总结:
QTP does not have any separate add-in specifically for those controls,
QTP has only the standard Java add-in that would work if the mentioned
controls are Java standard controls and if they belongs to the
standard Java Swing classes or Java AWT clases, only standard no any
kind of customized nor third party control. Otherwise, the recognition
will be basic because QTP will not support the controls.
You can find more information about the technologies that support the
Java add-in in the next link at page 4:
HP QuickTest Professional 11.00 Product Availability Matrix
http://support.openview.hp.com/selfsolve/document/KM1210389
Actually we have an Enhancement Request to evaluate the prosiblitiy to
bring support to JavaFX objects:
Support for JavaFX 2.0.2.
https://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QCCR1J26625
For the moment as a workaround we recomend work with these kind of
controls as third-party controls.
How to work with unsupported or third-party controls
我对它没有更多的了解,因为我以前从未使用过 JavaFX,但我相信在这里您会找到足够的内容来帮助您
请查看 UFT 14.01,它现在已被原生支持。
UFT now supports testing applications built with JavaFX, natively using the Java Add-in.
Prior to 14.01, JavaFX was supported by Microsoft UI Automation for
purely JavaFX widgets.
请建议是否有任何方法可以使用 UFT 12.02 自动测试 Javafx 应用程序,因为 UFT 无法识别 JavaFx 应用程序中的对象。 提前致谢。
快速 Google search 之后,您会发现 UFT 不直接支持 JavaFX 应用程序。
答案的简要总结:
QTP does not have any separate add-in specifically for those controls, QTP has only the standard Java add-in that would work if the mentioned controls are Java standard controls and if they belongs to the standard Java Swing classes or Java AWT clases, only standard no any kind of customized nor third party control. Otherwise, the recognition will be basic because QTP will not support the controls.
You can find more information about the technologies that support the Java add-in in the next link at page 4:
HP QuickTest Professional 11.00 Product Availability Matrix
http://support.openview.hp.com/selfsolve/document/KM1210389
Actually we have an Enhancement Request to evaluate the prosiblitiy to bring support to JavaFX objects:
Support for JavaFX 2.0.2.
https://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QCCR1J26625
For the moment as a workaround we recomend work with these kind of controls as third-party controls.
How to work with unsupported or third-party controls
我对它没有更多的了解,因为我以前从未使用过 JavaFX,但我相信在这里您会找到足够的内容来帮助您
请查看 UFT 14.01,它现在已被原生支持。
UFT now supports testing applications built with JavaFX, natively using the Java Add-in.
Prior to 14.01, JavaFX was supported by Microsoft UI Automation for purely JavaFX widgets.