Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Testing Javafx Properties(Is it possible to test a property within a Javafx control)
Testing Javafx Properties [message #1852546] Mon, 23 May 2022 09:43 Go to next message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
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?



Mike Bray
Re: Testing Javafx Properties [message #1852547 is a reply to message #1852546] Mon, 23 May 2022 10:15 Go to previous messageGo to next message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
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?

Mike Bray

[Updated on: Mon, 23 May 2022 11:52]

Report message to a moderator

Re: Testing Javafx Properties [message #1852549 is a reply to message #1852547] Mon, 23 May 2022 12:16 Go to previous messageGo to next message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
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?

Mike Bray
Re: Testing Javafx Properties [message #1852599 is a reply to message #1852549] Thu, 26 May 2022 13:12 Go to previous message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
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.

Mike Bray
Previous Topic:Selecting Panes
Next Topic:Cannot start AUT with Jubula 8.7.1.046
Goto Forum:
  


Current Time: Sun Feb 25 11:25:38 GMT 2024

Powered by FUDForum. Page generated in 0.02512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top