Ask a Question

Testing setup for Java Desktop called by Web Start (.jnlp)

sako
Occasional Contributor

Testing setup for Java Desktop called by Web Start (.jnlp)

How can I set up a TestComplete testing for a Java, Swing Desktop application that is activated from a browser by Web Start.  The JNLP file is attached.
2 REPLIES 2
AlexKaras
Community Hero

RE: Testing setup for Java Desktop called by Web Start (.jnlp)

Hi Sako,



I think that you need to go through this help topic: http://support.smartbear.com/viewarticle/57396/
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
dczerniawski
Occasional Contributor

Re: 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.

 

cancel
Showing results for 
Search instead for 
Did you mean: