Questions tagged [fest]

FEST (Fixtures for Easy Software Testing) is a collection of APIs to facilitate Java software testing. FEST contains a fluent API for reflection, assertion and interacting with SWING GUI Components. It can be used within JUnit and TestNG.

See the FEST home page.

91 questions
2
votes
1 answer

FEST Swing new frame on click, can't make new frame fixture

I am trying to write a Fest Swing test but am having trouble making / finding a frame fixture. I have two JFrames, one opens the other on click, and I'd like to either: 1.) find the frame fixture of the new JFrame opened 2.) make a new frame fixture…
user1165012
  • 71
  • 1
  • 4
1
vote
1 answer

How to obtain a certain component using FEST

I have a problem with FEST: I have four JtextFields in a JDialog. How can I obtain a certain JTextField if I have four JTextFields, where attributes name, text, and visibility are undefined or null. public class Form1 { public static void…
Guru_1010
  • 574
  • 7
  • 22
1
vote
2 answers

Making FEST:s component lookup mechanism wait for a component to exist

Possible Duplicate: Making FEST to wait for the application to load NOTE: This question is basically identical to this question. Since there were no answers to that question, I decided to extend the example from there into a runnable SSCE, and…
Alderath
  • 3,761
  • 1
  • 25
  • 43
1
vote
1 answer

Extending fluent interface

I'm starting using Fluent Assertions and I like it a lot, but wonder if it's possible to extend the existing tests in a general way like this: add method hasSizeAtLeast(int limit) in GroupAssert add method startsWithIgnoringCase(String prefix) in…
maaartinus
  • 44,714
  • 32
  • 161
  • 320
1
vote
1 answer

Why does JPanelFixture.comboBox().pressAndReleaseKeys() work with FEST, but not with AssertJ?

When trying to simulate input using AssertJ's pressAndReleaseKeys() for unit testing a JComboBox in a Java Swing program, I am not seeing the expected behavior. The program will most often hang on the pressAndReleaseKeys line and then fail, or…
Nashir
  • 21
  • 8
1
vote
0 answers

Browser Automation for Java-Applet based application using Fest or other java tools?

I have a legacy web application which has UI controls developed using Java-Applet and trying to get rid of manual validation here. It runs on browser with JRE version 1.6 or higher ONLY in browser and we have no provision to access the JAVA Applet…
Bhuvanesh Mani
  • 1,394
  • 14
  • 23
1
vote
1 answer

running java swing fest test when computer is locked

Can the FEST-Swing (mentioned here) test still work if the computer is locked? I did a test, and it didn't work. I think the Swing doesn't paint on the screen because the screen is locked, hence the FEST-Swing test will not work. Is there a…
Jie
  • 13
  • 5
1
vote
0 answers

Testng using org.fest.swing hangs randomly when click on button

I have a testng gui test, where I am using org.fest.swing APIs. It has 3 testcases where at the end of each it tries to close a dialog. When executing, it randomly hangs at a dialog box where it should click on one of the button and later fails at…
aashish
  • 55
  • 6
1
vote
1 answer

Referencing .jar files in NetBeans

I am trying to use FEST automation software. I am currently dealing with NetBeans 6.8 because it is what I have to use at work and am unable to upgrade the software at this time because of our system requirements [TLDR: don't tell me to upgrade…
1
vote
1 answer

Setting up FEST on Netbeans

I am trying to automate testing with FEST after having unsatisfactory results with UISpec4J. I am somewhat new to NetBeans and have to use 6.8 for the project that I am working with. I have written a test case using FEST and have downloaded the zip…
1
vote
1 answer

Locating Main Frame (JFrame) using Robot (FEST Swing tests)

Im working with a Java web start app (run through a JNLP). Currently I'm trying to locate Main Frame for the application using this code: Process p = Runtime.getRuntime().exec("C:\\Windows\\System32\\cmd.exe /c cd…
1
vote
1 answer

Fest swing gui framework, strange output

I am testing my SWING Gui. I do this by using the FEST framework. I have following input: window.textBox("txtDatabaseConnectionString").enterText("jdbc:oracle:thin:10.254.202.27:1521:db"); it actually starts to fill in the textbox with following…
Jonas
  • 769
  • 1
  • 8
  • 37
1
vote
1 answer

how to Automate Java applet in browser

i would like to know if there is a tool which can help me to automate a java applet application in browser i tried to use FEST-Selenium but is there any other tools ? thank you
yougerrard
  • 27
  • 1
  • 9
1
vote
0 answers

java.lang.VerifyError: org/fest/assertions/internal/Objects

I am trying to run android tests using Spoon framework and robotium solo And their test project which is found here This is the test package com.example.spoon.ordering.tests; import android.test.ActivityInstrumentationTestCase2; import…
Lena Bru
  • 13,521
  • 11
  • 61
  • 126
1
vote
1 answer

How to generate javadoc directly from Git

I am looking for Fest APIs for Java swing application testing. I can't seem to find any APIs posted online anywhere (their website seems to be down) and I've decided to check out the Git repository that you can download the source code from to do…
wmgeiger101x
  • 153
  • 3
  • 12