How do I test a combobox within an mxml file?
hi,
i test combobox via flexunit mimicing user clicking on value , validating other objects in mxml file change accordingly. tried setting selecteditem in combobox , change event doesn't fire. please advise. using flexunit 4. can provide code snippet show how use flexunit test combobox?
thanks..
-steve
steve,
you can this, however, isn't flexunit intended do. type of test more functional test unit. think of pyramid unit @ base, integration in middle , functional @ top.
i recommend looking @ tool flexmonkey, builds on of our code, provide level of functionality. said, if want in flexunit, problem listening for. flex doesn't dispatch change event programmatic changes. change events happen result of user interaction (mouse or keyboard). if want programmatic change, valuecommit event need watch,
mike
More discussions in FlexUnit Development
adobe
Comments
Post a Comment