How to automate a swing java web start application which runs clicking a link into a web application, which is automated with Selenium WebDriver?

后端 未结 2 473
走了就别回头了
走了就别回头了 2020-12-17 06:49

I have a typical web application, which is automated by Selenium WebDriver. My problem is a particular case of automation in which I have a link, which runs a swing app with

2条回答
  •  囚心锁ツ
    2020-12-17 07:20

    Since Java web start applications are basically regular Java applications and are not appearing in the DOM, you can't access them using WebDriver.

    The best tool I know for testing AWT/Swing application is Jemmy. I usually use it for testing standalone Swing applications, but I am sure you can use it also for applications that are launched using the web start mechanism.

提交回复
热议问题