Ranorex and JPlanner (Graphics2D)
Posted: Wed Feb 15, 2017 4:44 pm
Hello,
We're looking into using JPlanner (http://mindfusion.eu/jplanner.html) as a planner module inside our Java Swing client. Developers are happy, it brings us a lot of what we want, saves a lot of implementation. But the Test Specialist, me, I'm less enthousiastic.
The JPlanner component on high level is Java Swing, but on lower level, most of the items it displays are not Swing components, but UI painted using Graphics2D. Something Ranorex does not recognise.
Does anybody know of a way to deal with this (other than: look for another planner module or build it yourself)? I really want to be able to check for appointments within JPlanner. I can't think of a way to do this (not without reverting to image comparison), any thoughts appreciated.
As an example, see the two images below. Only the scrollbar + up/down button and the left/right button to switch to the previous/next day are recognised by Ranorex. The appointments that you can see in the view are not visible to Ranorex.
We're looking into using JPlanner (http://mindfusion.eu/jplanner.html) as a planner module inside our Java Swing client. Developers are happy, it brings us a lot of what we want, saves a lot of implementation. But the Test Specialist, me, I'm less enthousiastic.
The JPlanner component on high level is Java Swing, but on lower level, most of the items it displays are not Swing components, but UI painted using Graphics2D. Something Ranorex does not recognise.
Does anybody know of a way to deal with this (other than: look for another planner module or build it yourself)? I really want to be able to check for appointments within JPlanner. I can't think of a way to do this (not without reverting to image comparison), any thoughts appreciated.
As an example, see the two images below. Only the scrollbar + up/down button and the left/right button to switch to the previous/next day are recognised by Ranorex. The appointments that you can see in the view are not visible to Ranorex.