Skip to main content



      Home
Home » Archived » 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 06:58 Go to next message
Eclipse UserFriend
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 158 times)

[Updated on: Wed, 20 May 2015 07:02] by Moderator

Re: To test an application with Jubula on Eclipse [message #1696005 is a reply to message #1695924] Thu, 21 May 2015 02:57 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 11:04:33 EDT 2025

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

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

Back to the top