El lunes, 6 de noviembre de 2017, 15:40:06 (UTC+1), Cédric Krier escribió: > 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/
That'd be great. So, can I call that method on Proteus tests? Then I could test Pyson statements and it'd be very useful. -- 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/d6a9479f-2f26-4a3d-82eb-9ab148c8f069%40googlegroups.com.
