What is the best automated website UI testing framework [closed]

I definitively recommend Selenium, you can use it from .NET, supports different browsers, works in automatic builds and CI processes (we use it from CCNet). The code is stable. It has a few quirks, but after all they all do. Whichever tool you choose, I recommend making your own test facade class(es) around it. The … Read more

Browser-based application or stand-alone GUI app?

Let’s pretend for a moment that the development/deployment/maintenance effort/cost is equal and we look at it from the application user’s perspective: Which UI is the user going to find more useful? in terms of Ease of use Responsiveness Familiar navigation/usage patterns Most like other tools/applications in use on the platform (ie, native) I understand that … Read more

Why is there no CSS-like GUI creator [closed]

Microsoft NET’s WPF (Windows Presentation Foundation) is a GUI-creation solution kind of similar to HTML + CSS. IMO, it is much more versatile than HTML, but still easy to use (and to create readable GUI code). Defining layout is as easy as this: <DockPanel> <Label Content=”Dock Panel Layout Demo” FontSize=”15″ FontWeight=”Bold” Background=”LightBlue” Foreground=”Blue” DockPanel.Dock=”Top”/> <Label … Read more

Differences between ComboBox and ChoiceBox in JavaFX

ComboBox supports a cellFactory which allows essentially an arbitrary UI for displaying the item in each cell. ChoiceBox does not have this functionality and will only display text in each cell (which you can configure using a converter). See http://docs.oracle.com/javase/8/javafx/user-interface-tutorial/combo-box.htm#BABJCCIB listing 16.5 for an example of a custom cell factory in a combo box.

Getting java gui to open a webpage in web browser

If you’re using Java 6 or above, see the Desktop API, in particular browse. Use it like this (not tested): // using this in real life, you’d probably want to check that the desktop // methods are supported using isDesktopSupported()… String htmlFilePath = “path/to/html/file.html”; // path to your new file File htmlFile = new File(htmlFilePath); … Read more