Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » Not possible to debug Ecl Scripts added in a Group
Not possible to debug Ecl Scripts added in a Group [message #1690094] Wed, 25 March 2015 04:54 Go to next message
Eclipse UserFriend
Hi,

Me and my team are using RCPTT for testing a RCP application and have found what we feel is a bug in RCPTT.

We have built up several Ecl Scripts and in the test cases where we want to use these scripts either you can add all scripts as a context or you group the scripts in "Groups" and just have to add a couple of groups in each test case instead of all scripts. This is very useful but we have seen a problem with this.

If you have added Ecl scripts in groups then these scrips are not possible to debug. I made a small project with two Ecl scripts, one added in a group and the other one NOT added in any group. There is also a test case called "TestCase" and in its context I have added the "free" Ecl Script and the group containing the other Ecl Script. If you add a breakpoint on the first line, where we have a call to a proc in the "free" script, and the select to step into that proc it is possible. On the next line there is a call to the script in the group and if you tries to step into that proc it is not possible. Sometimes we have seen error messages poping up and sometimes you just will end up in some other file and it looks like you are debugging in the wrong place.

If you move the script in the group out of the group just into the context then it is possible to debug it. I have attached the project here for any one to test.

Is there any solution to this problem?

This problem exists in RCPTT 1.5.5.201503020316.
Re: Not possible to debug Ecl Scripts added in a Group [message #1690402 is a reply to message #1690094] Fri, 27 March 2015 03:45 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

Thank you for letting us know about that!
I've created a bug about it.
Do you need several ECL scripts to be executed in every test case in your project?
You can add these ECL Script contexts to default contexts in Project Settings.
Then it will be executed before each test case in the project and it is possible to debug such contexts from test cases.

Please try and let me know if it is suitable for you.
Re: Not possible to debug Ecl Scripts added in a Group [message #1691602 is a reply to message #1690402] Wed, 08 April 2015 08:38 Go to previous message
Eclipse UserFriend
Hi,

Good news that you have created a ticket for it.

Quote:
Do you need several ECL scripts to be executed in every test case in your project?

Yes, we are currently adding several ECL scripts in the Context that are acting as utility scripts.

Quote:
You can add these ECL Script contexts to default contexts in Project Settings.

This will not work for us since we want to set up different context for the different test cases.

So if it is possible to fix this issue it would be really good.

/ Jonas Älmeblad
Previous Topic:[SOLVED] unable to assert value for a cell element from Nebula Grid Table
Next Topic:Verification in Database
Goto Forum:
  


Current Time: Tue Jun 17 07:48:56 EDT 2025

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

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

Back to the top