Attach Marathon agent to an existing JVM Process

76 views
Skip to first unread message

Pradeep Michael

unread,
Jun 14, 2018, 2:28:26 AM6/14/18
to marathon...@googlegroups.com
Hi Dakshinamurthy,
                                 Below are the 2 scenarios which I am looking . Please let me know your views on Scenario 2

1>Scenario 1
      Application_B is a Java FX project. From Marathon i am able to launch Application_B using the JavaProfile/JavaDriver and automate it . No issues. Marathon fits perfectly into this.

2>Scenario 2
      Application_A is a java project which inturn calls Application_B(Java FX)  as a seperate process(JVM). 
For e2e automation , the automation script will send request to Application_A and needs to validate the UI in Application_B. Since automation script is not launching Application_B directly I am unable to get the objects of Application_B

    Please just your views on how to achieve automation in Scenario 2 using marathon. I am looking at options like attaching marathon agent to JVM Process etc.
Kindly share some code snippet incase you are aware of a suitable option.

Also kindly share Code snippnet for 
JavaProfile fxprofile2 = new JavaProfile(url);
What should be the syntax of the url need , an example URL


Thanks in advance
Pradeep Michael

Dakshinamurthy Karra

unread,
Jun 18, 2018, 3:49:18 AM6/18/18
to marathon...@googlegroups.com
I will get back in couple of days. Currently busy with a release.

-- KD


-- KD

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



On Thu, Jun 14, 2018 at 11:58 AM, Pradeep Michael <prade...@gmail.com> wrote:
Hi Dakshinamurthy,
                                 Below are the 2 scenarios which I am looking . Please let me know your views on Scenario 2

1>Scenario 1
      Application_B is a Java FX project. From Marathon i am able to launch Application_B using the JavaProfile/JavaDriver and automate it . No issues. Marathon fits perfectly into this.

2>Scenario 2
      Application_A is a java project which inturn calls Application_B(Java FX)  as a seperate process(JVM). 
For e2e automation , the automation script will send request to Application_A and needs to validate the UI in Application_B. Since automation script is not launching Application_B directly I am unable to get the objects of Application_B

    Please just your views on how to achieve automation in Scenario 2 using marathon. I am looking at options like attaching marathon agent to JVM Process etc.
Kindly share some code snippet incase you are aware of a suitable option.


Thanks in advance
Pradeep Michael

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

Rachel Vonderheide

unread,
May 15, 2019, 8:36:05 PM5/15/19
to Marathon Java GUI Testing
Hi Pradeep,

Did you ever figure this out? 

Regards,
Rachel
Reply all
Reply to author
Forward
0 new messages