On 2017-11-06 14:38, Sergi Almacellas Abellana wrote: > Hi Javier, > > El 06/11/17 a les 14:08, Javier Uribe ha escrit: > > I'd like to know if there is a way of checking the button's states on a > > Proteus test. For example, I'd like to test if a button is invisible. > > Button definitions are not fetched on proteus. That's because buttons > are linked to views and proteus does not understand views as you have > access to the full model definition.
But you could call fields_view_get and evaluate the pyson statement. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20171106143617.GC32103%40kei.
