I am trying to use UISpec4j and NetX to test JNLP. Got the solution from How to automate a swing java web start application which runs clicking a link into a web application, which is automated with Selenium WebDriver?
But I need to make the JNLP app visible. Is it possible to do that in UISpec4j?
Related
I have a legacy web application which has UI controls developed using Java-Applet and trying to get rid of manual validation here. It runs on browser with JRE version 1.6 or higher ONLY in browser and we have no provision to access the JAVA Applet code. All we have is application URL and a valid user credentials to login. Selenium requires the UI components such as textbox, checkbox, radio buttons, submit buttons, links, texts etc, as html tags in order to interact with it. But here, the entire application is built with java-applet (some times swing controls) and Selenium cant control/access these UI components.
Assume if use Selenium (with java), we can login to application as login screens are plain html objects. However once application launches, we're not sure how to control the objects in it as they're designed using swings I believe. Came across FEST but its more of developer side tool which runs in development environment (kind of white box testing). So suggest someways how can I achieve by using any opensource tools like Selenium (HP UFT is out of equation considering the cost)
I have a java app which is running as an applet. Since plugin support is going away in the browser, we are trying to see how well the applet will run in Java Web Start.
However, our app currently opens secondary browser windows using the appletContext.showDocument(URL, target).
Java Web Start unfortunately ignores the target, so we are not able to name the window (hence also not able to later close the window).
Is there a way, within Web Start, to maintain a handle on all programatically opened windows, so that they can later be programatically closed?
I have integration tests that start my GWT application using com.google.gwt.dev.DevMode class. The web server starts as expected but DevMode also pops out its graphic window. I would like to hide this windows as we may need to run these tests in the headless environment.
Is it possible to start com.google.gwt.dev.DevMode without its graphic window?
I think you could extend DevMode and call its setHeadless method. But you're not supposed to run integration tests in DevMode, you should run them in prod mode.
An alternative would be to provide a remote UI (this is what the Google Plugin for Eclipse uses to integrate DevMode into an Eclipse view), but it requires talking the remote UI protocol.
I am writing a web app with java. I am curious to know if there is a way that I can switch between the browser window (running the web app) and a local Java client application window (standard Java window). The Java Window is Oracle Forms.
For example, when i'm running the web app in my internet browser and I click a button. I want the button to execute process to switch from the internet browser window to the local java/forms window. Thus I would need something to execute on the OS level to switch my window.
How could I do this? I'm interested in any idea that would make that usecase work. For example, I probably need to introduce and integrate new technologies with my app? Probably a Java Applet?
Thank you,
Gavin
I just wanted to ask, how can we open Java Applet like a program, but not an application integrated in a web page.
You push a button in web page and java program will start, but not a java applet integrated in a web page.
Or like a webpage but without address bar :)
This is possible somehow , right?
Thank you for your time and for your answers!
UPDATE
This would be like a solution: http://orangoo.com/labs/greybox/normal_usage.html
Greybox!
Everything is okey, except you cant drag / move that popup window anywhere. Maybe someone is familar with Greybox and can suggest how this is possible? ( To move popup window)
:)
How about using Java Web Start technology instead?
http://docs.oracle.com/javase/tutorial/deployment/webstart/
Java Web Start software provides the power to launch full-featured
applications with a single click. Users can download and launch
applications, such as a complete spreadsheet program or an Internet
chat client, without going through lengthy installation procedures.
With Java Web Start software, users can launch a Java application by
clicking a link in a web page. The link points to a Java Network
Launch Protocol (JNLP) file, which instructs Java Web Start software
to download, cache, and run the application.