Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Drag & drop canvas figure item On RCP program(ask for sample for drap & drop test case on canvas figure item)
Drag & drop canvas figure item On RCP program [message #822792] Sat, 17 March 2012 08:59 Go to next message
ScoldField Martin is currently offline ScoldField MartinFriend
Messages: 3
Registered: March 2012
Location: China
Junior Member

Dear Alex:

I am trying to use jubula to test a RCP/SWT program.

I can't find the sample about the operation of canvas figure,

such as drag,drop,right click, etc.

when i add a referent of ub_fcv_dragAndDropFigure_byTextPath,

i put the textpath parameter which i copy from the GEF inspector view,

set the source and dest value, in the object map view, i map one of the

canvas figure to the action.

After all of than done, i run the test suit, and i always failed.

Could you give me some suggestion or sample?

ths.

Best Regards
Martin.Scolfield
Re: Drag & drop canvas figure item On RCP program [message #824873 is a reply to message #822792] Tue, 20 March 2012 07:10 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

it sounds like you're performing the correct steps - how is the test failing (with what error type, any log messages?). It could be something as simple as not activating the AUT before the test starts. If you do a simple click on one of the figures, does it work?

Best regards,
Alex
Re: Drag & drop canvas figure item On RCP program [message #825844 is a reply to message #824873] Wed, 21 March 2012 10:23 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
The ticket that was entered and answered for this question is here.
Re: Drag & drop canvas figure item On RCP program [message #829455 is a reply to message #824873] Mon, 26 March 2012 10:08 Go to previous messageGo to next message
ScoldField Martin is currently offline ScoldField MartinFriend
Messages: 3
Registered: March 2012
Location: China
Junior Member

hi, Alex:

Thank you for your response.

The probleam remains unresolved.

About the error log message, i'm sorry that i don't

know where it locate, i can only get the info from excution

perspective view. It showed that error type is 'Action error',

withow further descripthion.

For now, there are another three probleam, i will describe

them as possible as clearly.

1. The action which clicks canvas figure, named ub_fcv_clickFi

ure_byTextPath, does not work, but the action (select canvas figure)

ub_fcv_selectTool_byTextPath work. The error action type is action error.

2. I could not map the component in the modal pop-up dialog with jubula,

in the object map view, ctr+shift+q doesn't work, and there is no yellow bound on

on the component. If the dialog is not modal, it work.

3. when i map a swt table in object map view, the jubula recognize the table

to be a tree. In the sample swt application it recognizes correctly, but in my

application it doesn't.

Thank you for your help.

Best Regards

Martin ScoldField
Re: Drag & drop canvas figure item On RCP program [message #830523 is a reply to message #829455] Tue, 27 March 2012 18:48 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Martin,

I updated the bug with a request for the test result reports for both cases you described there for the first problem.

For other problems:
1. you can find the log file under "Help - Show Client Log / Show Agent Log". You will also find logs in the home directory under .jubula.
2. Could it be the case that the dialogs whose components can't be mapped are native dialogs?
3. Is the table in your application actually a tree table of some sort? (normally a tree table should be recognised as one, but perhaps this is a custom component?).

Regards,
Alex
Re: Drag & drop canvas figure item On RCP program [message #831517 is a reply to message #830523] Thu, 29 March 2012 01:41 Go to previous message
ScoldField Martin is currently offline ScoldField MartinFriend
Messages: 3
Registered: March 2012
Location: China
Junior Member

Hi Alex,

Thanks for your response.

I found the log file according to your suggestion, but there is no relatinal

information in it.

About the modal dialog, it is not native and is ordinary. (Modal dialog means

that the user can't operate the back window before the dialog is closed.)

The table in our application is ordinary table, not treeTable or custom

component.

when i find more information, i will info you as quick as possible.

thank you for your help.

Best Regards
Martin scoldField
Previous Topic:Autowiring/SLF4j does not seem to work with Jubula (?)
Next Topic:Selecting/checking tree node in ContainerCheckedTreeViewer in RCP application
Goto Forum:
  


Current Time: Fri Apr 19 16:41:20 GMT 2024

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

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

Back to the top