Problem Mapping Context Menu in RCP [message #757416] |
Fri, 18 November 2011 06:27  |
Eclipse User |
|
|
|
Hello,
I'm trying to map a Context Menu component (which appears when you right-click an element).
So far, I am able to map it for Swing AUT, but not for RCP AUT.
In RCP AUT it seems like Jubula does not reconize Context Menu component (no green border appears as it appears in Swing AUT).
I use the DVD Tool app (provided in the Jubula download package) for Swing AUT, and Eclipse 3.7 for RCP AUT. My OS is Windows XP.
I came accross this while I was trying to use <ub_grc_selectContextMenuEntry_byTextpath> teststep
under the provided unbound_modules_concrete_[5.2] --> Select --> Context Menu category.
I've also tested it with another Swing applications and RCP applications and got the same issue.
Is this a known issue? or is there another way to map the Context Menu component for RCP AUT?
Regards,
Nack.
|
|
|
|
Re: Problem Mapping Context Menu in RCP [message #757434 is a reply to message #757419] |
Fri, 18 November 2011 07:57   |
Eclipse User |
|
|
|
Yes, I read that and "Select Context Menu Entry by Textpath" test case is exactly the one
I used. And yes, I did specify the textpath.
And then, before I run the test, I have this EXCEPTION in the Test Suite Browser: "The Object Mapping in this Test Case or its children is incomplete.", which prevents me to go on.
This is different from the MENU BAR case in the cheat sheet (DVD Tool section) which, requires textpath only,and without component mapping.
Regards,
Nack
[Updated on: Fri, 18 November 2011 07:59] by Moderator
|
|
|
|
Re: Problem Mapping Context Menu in RCP [message #757646 is a reply to message #757416] |
Sun, 20 November 2011 22:27   |
Eclipse User |
|
|
|
Yes, I've tried that, and let me clarify this.
The cheatsheet itself says that, "You may also need to carry out the object mapping ...", as shown below.

So, correct me if I'm wrong because, it looks like you DOES NEED object mapping for using the context menu BUT, this is not the point.
My point is that, even though it needs object mapping, I tried it, and it works fine for testing Swing app but, it does not work for testing RCP app
because, jubula does not reconize RCP context menu.
Now, if you try it yourself with Eclipse(any version) or another RCP apps, you will see what I mean. (which, to me it looks like a bug)
Regards,
Nack
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.44886 seconds