Hi Mike, UIspec4J provides the API 'pressKey(Key)' for TestBox and ListBox components. If you want to press a key on other types of components, you should use ...
Hi Pascal, Is there anyway to get the component that currently has focus? To test normal user behaviour I want to send the key to that component, without...
Hi Michael, As you know, UISpec4J does not display the GUI (first because no human can verify the display at light speed, but also for performance reasons) As...
Hi, My application is in Java Swings and I would like to do automated testing for the same. I would like to know -- 1. Can UISpec4j be used for automated...
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());...