简体   繁体   English

如何从另一个应用程序访问(单击按钮,键入文本)Java AWT / Swing Frames?

[英]How would I be able to access (click buttons, type text) to Java AWT / Swing Frames from another application?

I work with application testing and would like for our integration testcode (written in Java and using among other stuff Selenium Webdriver) to access frames executed in a different JVM (launched by the product we are testing). 我从事应用程序测试,并希望我们的集成测试代码(用Java编写,并使用Selenium Webdriver等工具)访问在不同的JVM(由我们正在测试的产品推出)中执行的框架。

I have looked at using FestSwing, but it relies on Java 1.6 and we are forced to use Java 1.5. 我看过使用FestSwing,但它依赖Java 1.6,因此我们不得不使用Java 1.5。

Our organization previously used QuickTest Professional but it was too unstable. 我们的组织以前使用QuickTest Professional,但是它太不稳定了。 It had some way of accessing the frames through jvm hooks in the other JVM. 它具有某种通过其他JVM中的jvm挂钩访问帧的方法。

Our product is a web that sometimes uses Java Swing JFrames and AWT Frames. 我们的产品是一个有时使用Java Swing JFrame和AWT Frames的网站。

/Mikael Magnusson. /米格·马格努森(Mikael Magnusson)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM