| || |
Object Finder cannot locate objects
I'm currently evaluating RobotJ for use in our project. An important part of our application is a graphical editor for network diagrams. It displays objects like rectangles, texts and lines, which can be edited (moved, resized, grouped) by the user. This editor is completely written in java, but not based on AWT, SWT, or swing (it's based on the "jloox" framework).
It seems to me that RobotJ (its Object Finder) cannot locate those objects when recording a script. The Object Finder only "finds" (and selects) the whole editor panel, but not the individual rectangles, lines, etc. inside the panel, when I click on them. Therefore I did not succeed in setting verification points on individual objects (which would be essential for the test).
Does RobotJ only support applications which are based on a certain GUI library? Can you think of a workaround?
Thanks for your assistance,
Re: Object Finder cannot locate objects
I am having the same problem testing a web application using Internet Explorer. I drag the object pointer over to the web page being tested and click but the object tool doesn't list any objects from the page. Also the script recorder isn't picking up any of my keystrokes or mouse movements.
I have already checked the 'Configure Application' and 'Configure Environments' screens but they looks good.
This recording was working when I first installed RobotJ but now something has changed.