To test an application with Jubula on Eclipse [message #1695924] |
Wed, 20 May 2015 10:58 |
Romain Vianef Messages: 32 Registered: April 2015 |
Member |
|
|
Hello to everyone,
I use Jubula to automate my RCP application. I tried this function but it doesn't work.
m_aut.execute(
menuOuverture.selectMenuEntryByTextpath(
" Fenêtre/\'Ouvertures de sessions ...\' ",
Operator.equals),
"Ouverture de sessions" ));
With Jubula, I exported the Java code of my scenario. For the same action, I got this :
m_aut.execute(
org.eclipse.jubula.toolkit.swt.SwtComponents.createMenu().selectMenuEntryByTextpath(
" Fenêtre/\'Ouvertures de sessions ...\' ",
Operator.equals),
"Ouverture de sessions");
The first option doesn't work and I don't know why (there aren't error messages).
The second option works on my application, but only on the tab Fenêtre (clic on Fenêtre tab). It doesn't finish the path (clic on "Ouvertures de sessions").
Do you have any idea for this function ?
Best Regards.
Romain
-
Attachment: tabs.PNG
(Size: 6.13KB, Downloaded 137 times)
[Updated on: Wed, 20 May 2015 11:02] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03148 seconds