New issue 318 by rajvi.1...@gmail.com: Using JMenuItemFixture, unable to
click on a item in a menu
http://code.google.com/p/fest/issues/detail?id=318
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Hi Alex,
I am trying to use this library to autmate Swing GUI testing.
My application has a menu and I am trying to click in File -> Open menu
using the following:
JMenuItemFixture menu = window.menuItemWithPath("File", "Open");
menu.click();
However I am seeing this error message:
java.lang.NoSuchMethodError:
org.fest.assertions.ObjectAssert.as(Ljava/lang/String;)Lorg/fest/assertions/ObjectAssert;
at
org.fest.swing.fixture.JMenuItemFinder.menuItemWithPath(JMenuItemFinder.java:49)
at
org.fest.swing.fixture.ContainerFixture.menuItemWithPath(ContainerFixture.java:267)
at
Any help is appreciated.
I am using the latest version of the library Fest-Swing 1.2.2