Hi !! First of all, thanks you for your test library which is very usefull. At this time, i'm testing a big MMI with your library. Everything goes well. ...
Hi, Thanks a lot for your warm support! In the case of a MDI application, the method 'getMainWindow' gives access to the main frame. From there, use...
Hi, thank you for your help. I try the method you gave but it doesn't work. I've the message : "No component of type Destock found" It's normal because the...
Hi, ... If it's not an MDI application, you can use the following AWT method: Frame[] Frame.getFrames() which will return all the top-level frames owned by...
I have been having some issues with the FileChooserHandler. Below is the error trace and some code that replicates the issue. I have seen it both on Windows...
Hi Jayashree, UISpec4J is aimed at interacting and checking contents of actual UI components. The OrderEntry class being an Event Listener, I presume it is...
Hello, It looks like there is indeed a weird behavior here. On the other hand, the following test should pass: public void testCancelSelection() throws...
My last response must have either gotten lost or I messed up with the post, so I will post again. Your test does indeed work, however, the code I need to test...
Hi, I'm new to the UISpec4J framework, and I've been enjoying it so far, but I've run into a problem I can't figure out... I have a table in which each cell...
Hi Bassam, ... There's nothing wrong in your code as far as I can see. In your production code, what is the event that actually applies the change to your data...
Hi, Indeed, the FileChooserHandler.titleEquals() currently behaves correctly only if the title has been customized (cal to JFileChooser.setDialogTitle()). ...
Hi, I'm having a very strange problem with a FileChooser dialog. With the following code: WindowInterceptor.init(menuBar.getMenu( "Script").getSubMenu("Run...
Hi, I tried out your suggestion. Your suggestion works, if my class extends any component, however, it does not work with the OrderEntry. I tried out - ...
Sorry I wanted to reply my previous post, but it hasn't appeared yet. The reason the dialog was appearing was because the dialog was awt and not swing. ...
Thanks for noticing this Mike!We will change the API doc accordingly. Cheers, Pascal 2009/6/9 allstarenterprises1 <allstarenterprises@...> ... -- A+ -...
Hi, This (not very user-friendly) result suggests that your application triggers the opening of a new window if the user selects a file and clicks the OK ...
Hi Jayashree, I am not sure I do understand your issue. 'myPanel' is an instance of the UISpec4J Panel class, so you should have the API for accessing your...
Hi, ... Are you sure that UISpec4J.init() is being called early enough in your test? I don't think that once the UISpec4J toolkit is installed it is possible...
Hi Pascal, Here is the code - public JPanel createPanel() { JPanel main = new JPanel(new GridLayout(3,1)); //Top Panel JPanel o = new JPanel(new FlowLayout());...
Hi Pascal, To give you more idea, the OrderEntry form is defined as a bean in an xml file and is initialized by Spring ApplicationContext. So, the following...
Hello all! I'm new to UISpec4j, and am trying to figure out testing with a JFileChooser. I can get this sample program to display the chooser, but it never...
Hi there, I've been scratching my head about testing a program that uses a JOptionPane dialog. When running the test, the dialog gets displayed but the...
Hi, ... Are you sure that UISpec4J.init() was called before Swing was initialized and your test was called? (see http://www.uispec4j.org/intercepting-windows) ...
hello there, i was trying to use UISpec4J in my swing application for the last 1 weeks, now i come across several problems and hope you guys could help me out,...