Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » To test an application with Jubula on Eclipse(selectMenuEntryByTextpath() method)
To test an application with Jubula on Eclipse [message #1695924] Wed, 20 May 2015 10:58 Go to next message
Romain Vianef is currently offline Romain VianefFriend
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 80 times)

[Updated on: Wed, 20 May 2015 11:02]

Report message to a moderator

Re: To test an application with Jubula on Eclipse [message #1696005 is a reply to message #1695924] Thu, 21 May 2015 06:57 Go to previous message
Romain Vianef is currently offline Romain VianefFriend
Messages: 32
Registered: April 2015
Member
Solution :
m_aut.execute(
org.eclipse.jubula.toolkit.swt.SwtComponents.createMenu().selectMenuEntryByTextpath(
"Fenêtre/Ouvertures de sessions ...",
Operator.equals),
null );
Previous Topic:missing jar file
Next Topic:Robotexception reported by Jubula after Ctrl-Shift-Q
Goto Forum:
  


Current Time: Mon May 21 15:24:48 GMT 2018

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

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

Back to the top