Contributions
Re: Can I test a JNLP app that does not run in a browser?
Thanks, Alex! I think it will work for me. My client is written in ULC-canoo which sends its ULC requests/responses via HTTP so it should work. The difficult part was getting a tool so that I could easily send requests via the client. TestComplete may work. Thanks a lot!991Views0likes0CommentsRe: Java web start application-jp2launcher.exe not displaying
My problem was solved when I used an older version of Java. JRE 1.8.0_71 x86 -> TC did not list jp2launcher process in object browser JRE 1.6.0_23, x64 -> TC did list javaw process and had nested client objects jp2launcher replaces javaw in newer versions of Javaand maybe TC has an issue with it. My app normally runs on an older version of Java so it wasn't a problem for me.7.5KViews0likes5CommentsRe: Can I test a JNLP app that does not run in a browser?
Alex, I can launch the jnlp application via the browser but my objects are mapped to the browser process, not jp2launcher. jp2launcher isn't shown under Sys as a process. When I re-run a test it fails becauseit can't find the object, probably because it is trying to map it as a child of browser. I attached some screenshots if that helps. Any thoughts?I have the web and desktop module installed, but maybe I am not using the web module correctly?6.5KViews0likes1CommentRe: Java web start application-jp2launcher.exe not displaying
I think I have the same problem. TestComplete is not detecting the jp2launcher.exe process. Itmaps the login window of my app to the browser: NameMapping.Sys.browser.dialog0 (see attached) But when I find the object by pointing to it with TestComplete it says: NameMapping.Sys.Process("jp2launcher").SwingObject("UIDialog$BasicDialog", "Employee Login", -1, 1) When I rerun "Login" test it fails for object not found. Maybe I can manually edit this, but the real problem is that it isn't a child object of the correct process (jp2launcher).7.5KViews0likes6CommentsRe: Testing setup for Java Desktop called by Web Start (.jnlp)
Sako, I did the following: 1) right-click TestedApps in your Project window and click Add->New Item 2) select Web application 3) when it prompts you for the page url put in the http url from your jnlp file that ends with .jnlp 4) click Autorun on application recording checkbox so it launches your jnlp app automatically In my case, I chose the Mozilla browser. When I click Append to Test, the Mozilla browser opens which immediately launches my jnlp app. I was attempting to launch it via Java Console, which is what I'm accustomed to, but I don't see a downside to this approach. It immediately began recording actions on my client launched via Mozilla. Pretty neat. I have the Desktop and Web modules installed.1.1KViews1like0CommentsRe: Can I test a JNLP app that does not run in a browser?
Alex, From the website LoadComplete "...works with both traditional HTML web sites and with Rich Internet Applications using modern web technologies like AJAX, ASP.NET, Java, Flash, Flex and Silverlight". I am going to use TestComplete to create functional tests for my Java RIA. I assumed I could couple LoadComplete with TestComplete to do load tests via multiple RIA. The Java code my RIA is written in (ulc.canoo.com) does generate HTTP requests to communicate with the corresponding half-objects of the client on the server side. But I need these complex HTTP requests to be generated by the RIA. Does LoadComplete work with RIA like the website says or am I out of luck? Thanks.6.5KViews0likes2Comments