Skip to main content

Questions tagged [java-gui]

Questions related to testing Java GUI applications

Filter by
Sorted by
Tagged with
1 vote
0 answers
264 views

Java Swing MVP unit testing with Mockito

Description I have a simple Java Swing application implementing the Model-View-Presenter pattern. My aim is to be able to test the logic behind "rendering" the view. Here is the presenter ...
Al2110's user avatar
  • 129
0 votes
1 answer
1k views

How to fetch data from UI and passing those data as input for selenium script?

Scenario: I have to read input from UI and based on the input i have to run my selenium script. Earlier i prepared a jar file for the same and was inserting values for the script from excel and ...
nina's user avatar
  • 1
0 votes
1 answer
121 views

Having auto increment issue when running a script in UFT [closed]

The auto-increment feature is causing one of the test scripts to fail. How can I modify the script or disable the auto-increment function? e.g. It looks like this: Window("Flight Reservation")....
Danny's user avatar
  • 1
-1 votes
1 answer
60 views

How to write a java programme to find unique patterns by removing duplicates for API urls?

How to write a java program to find unique patterns for API URLs? Note: I have a file which contains 10000 API URLs with duplicates api.csv: http://abc.com/XMLFeed?clientkey=abtc&type=Products&...
lak's user avatar
  • 567
0 votes
1 answer
410 views

How to parametrize Load Runner tests created with Java Record Replay protocol?

Most of articles about HP Load Runner parametrization recommend to use {param_name} structure inside a string or lr_eval_string("{param_name}"). Actually in Java protocol the first one still remains ...
Ivan Gerasimenko's user avatar
2 votes
2 answers
2k views

Is it possible to do load testing of java swing application with Jmeter?

I need to perform load testing of java swing application. So there should be imitation of simultaneous actions on N instances of this application. Is it possible to do it with jmeter? I have doubts ...
Ivan Gerasimenko's user avatar
1 vote
3 answers
2k views

Is it possible to use MS Coded UI Test framework to test Java GUI application?

MSDN page Supported Configurations and Platforms for Coded UI Tests and Action Recordings tells that Java platform is not supported. But now Java development is possible with Visual Studio Team ...
Ivan Gerasimenko's user avatar
1 vote
1 answer
2k views

How to get colour, font of java table row/cell/text with Jemmy?

Need to check color/font style of java table (text, background) in Swing application cause style of row should depend on a column value. It is possible to get color of font and background of selected ...
Ivan Gerasimenko's user avatar
0 votes
1 answer
97 views

Jemmy strucked at clickMouse() when notification dialog with progressbar are displayed

During autotest execution (jemmy lib is used to interact with Java GUI elements) address data is entered and button 'Search for address' is pressed. At some addresses notification dialog with ...
Ivan Gerasimenko's user avatar
1 vote
1 answer
626 views

How to define elements in Jemmy library with the usage of ComponentChooser?

I am researching possibility of testing Java GUI application with Jemmy library. Elements in application are defined by constructors like: JFrameOperator mainFrame = new JFrameOperator("Main window ...
Ivan Gerasimenko's user avatar
26 votes
5 answers
56k views

Open source tools for automation of Java GUI application testing

The testing tools (or tools that could be used in testing purposes) for testing Java GUI application I know are: Jemmy - jemmy library contains methods to reproduce all user actions which can be ...
Ivan Gerasimenko's user avatar