Testing Javafx Properties [message #1852546] |
Mon, 23 May 2022 09:43  |
Eclipse User |
|
|
|
Prior to version 8.5 it was possible to test the value of a property within a Javafx control. I used this to test a 'selected' property. I am using version 8.8 now and this shows that the ub_trt_checkPropertyAtMousePosition test is depreciated. What is the replacement for this?
|
|
|
Re: Testing Javafx Properties [message #1852547 is a reply to message #1852546] |
Mon, 23 May 2022 10:15   |
Eclipse User |
|
|
|
I have found it under the unbound_modules_concrete/Check, the test ub_grc_checkProperty this works on standard properties but does not work with the SimplexxxxProperty if declared as public. What is the method to get user defined properties visible to Jubula?
[Updated on: Mon, 23 May 2022 11:52] by Moderator Report message to a moderator
|
|
|
Re: Testing Javafx Properties [message #1852549 is a reply to message #1852547] |
Mon, 23 May 2022 12:16   |
Eclipse User |
|
|
|
Though I have created a property using the StringProperty class and made it visible to Scenic View by Jonathan Giles Jubula is still saying the Property is not available. What is the criteria for seeing user defined Javafx properties?
|
|
|
Re: Testing Javafx Properties [message #1852599 is a reply to message #1852549] |
Thu, 26 May 2022 13:12  |
Eclipse User |
|
|
|
The trick is that the property must be created when the class is loaded, i.e. as a class variable and it must be initialized, (property=new Simple<type>Property(), not initialized when the object is created, i.e in the constructor.
|
|
|
Powered by
FUDForum. Page generated in 0.06778 seconds