Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Issues when recording sub- client.
Issues when recording sub- client. [message #1714153] Tue, 10 November 2015 10:19 Go to next message
Jane Jane is currently offline Jane JaneFriend
Messages: 2
Registered: November 2015
Junior Member
scenario:
1.Add an application-under-test, RCPTT record it well.
2.But when the application launch sub-client, the control panel of RCPTT record nothing.
For example,
the eclipse application debug another eclipse application, RCPTT can record the first application, but the second fail.
Issue:
So does RCPTT support to record the sub-client? Or it need configure something?
Re: Issues when recording sub- client. [message #1714246 is a reply to message #1714153] Wed, 11 November 2015 03:40 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Jane,

The reason RCPTT can record action in AUT is that RCPTT generates a launch configuration that contains the product to be tested and some control plugins from RCPTT . In addition, the byte code of the application is so instrumented that RCPTT can control the AUT automatically.
So when you start a sub-client from AUT nothing of above is made.

Please, let me ask our dev team if it's possible to do something and I'll come back as soon as I have an answer.

Kind regards,
Ulyana.
Re: Issues when recording sub- client. [message #1714695 is a reply to message #1714246] Mon, 16 November 2015 03:35 Go to previous messageGo to next message
Jane Jane is currently offline Jane JaneFriend
Messages: 2
Registered: November 2015
Junior Member
Hi Ulyana,

Thank for your help and looking into this issue.
Hope your answer.

Regards
Jane
Re: Issues when recording sub- client. [message #1714723 is a reply to message #1714695] Mon, 16 November 2015 09:02 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Jane,

Here is a possible workaround of replaying inside sub-client:

1) Install RCPTT into AUT Eclipse;
2) After you do it you will be able to create RCPTT AUT Launch configuration and start your sub-client as AUT as well.
3) Then you can manually add ECL commands inside a test case

get-aut "SubClientAutName" | eval {

//some ECL code

}


and this code will be executed in your sub-client.

Thus, recording in a sub-client won't be reachable, but you can do replaying instead.

Kind regards,
Ulyana.
Re: Issues when recording sub- client. [message #1715092 is a reply to message #1714723] Thu, 19 November 2015 08:06 Go to previous messageGo to next message
hu kaili is currently offline hu kailiFriend
Messages: 3
Registered: November 2015
Junior Member
Hi, Ulyana

I met the same issue and I followed your workaround to try , after I install the RCPTT in eclipse ,I can't find 'Eclipse Application under Test'' to configuration ,so I blocked by step 2.
can you tell me how to configuration AUT after installing the RCPTT in eclipse?
BTW ,my Eclipse version is 4.0


Thanks
--Kaili

Re: Issues when recording sub- client. [message #1715093 is a reply to message #1714723] Thu, 19 November 2015 08:10 Go to previous message
hu kaili is currently offline hu kailiFriend
Messages: 3
Registered: November 2015
Junior Member
Hi, Ulyana
I met the same issue and followed this workaround to try, after I install RCPTT in eclipse , I can't find 'Eclipse Application under Test' to configurate the AUT , I am blocked by step 2
can you tell me how to configurate it ? my eclipse version is 4.0

thanks
--Kaili


Ulyana Skorokhodova wrote on Mon, 16 November 2015 09:02
Hi Jane,

Here is a possible workaround of replaying inside sub-client:

1) Install RCPTT into AUT Eclipse;
2) After you do it you will be able to create RCPTT AUT Launch configuration and start your sub-client as AUT as well.
3) Then you can manually add ECL commands inside a test case

get-aut "SubClientAutName" | eval {

//some ECL code

}


and this code will be executed in your sub-client.

Thus, recording in a sub-client won't be reachable, but you can do replaying instead.

Kind regards,
Ulyana.

Previous Topic:Unexpected results with RCPTT Runner
Next Topic:Can't install RCPTT into eclipse 4.0
Goto Forum:
  


Current Time: Thu Sep 26 07:20:35 GMT 2024

Powered by FUDForum. Page generated in 0.04174 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top