MarathonV5 launching a jnlp application with unKnown start window title

34 views
Skip to first unread message

Joe Fischer

unread,
Aug 1, 2018, 10:01:55 AM8/1/18
to Marathon Java GUI Testing
We are using marathonV5 to test a Java webstart application.  Sometimes when a previous test fails the next launch will display a different window than what is expected.  We don't know when this would occur.  Is there a way to launch without specifying the StartWindowTitle?  Is there a way to use wild cards for the StartWindowTitle?   

Dakshinamurthy Karra

unread,
Aug 1, 2018, 11:10:53 AM8/1/18
to marathon...@googlegroups.com
The StartWindowTitle is a required parameter for WebStart launcher. The reason is that Marathon needs to identify the application window as opposed to the webstart launch windows.

You can use a regex for startWindowTitle that can capture both the window titles and the use getTitle in the test script to conditionally evaluate the code. If the startWindowTitle starts with a '/' it is considered as a Java regex.

HTH.

Kind Regards,
KD

BTW, we released a commercial version of Marathon for Eclipse. You might be interested in that :)


-- KD

--
Dakshinamurthy Karra
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA



On Wed, Aug 1, 2018 at 7:31 PM, Joe Fischer <joef...@gmail.com> wrote:
We are using marathonV5 to test a Java webstart application.  Sometimes when a previous test fails the next launch will display a different window than what is expected.  We don't know when this would occur.  Is there a way to launch without specifying the StartWindowTitle?  Is there a way to use wild cards for the StartWindowTitle?   

--
Looking for professional help with your Marathon projects?
Go visit: http://marathontesting.com
---
You received this message because you are subscribed to the Google Groups "Marathon Java GUI Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testing+unsubscribe@googlegroups.com.
To post to this group, send email to marathon-testing@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages