winforms - Integration testing with White -
has got experience white framework?
i'm thinking using next project basic smoke tests of our windows client. i'd advice on articles or own experiences. thanks.
i used white build few (20+) ui tests complex winforms app plenty of usercontrols, dynamically created , 3rd-party controls.
here impressions:
- very easy , intuitive work with.
- little or no quality issues.
- it's young project there missing features, they've got basics covered.
- occasionally, if control didn't have known automationid, forced use keystrokes navigate , manipulate control ("tab, tab, enter" example) kind of bummer, still easy in white. happened 3rd-party or dynamically generated controls.
- white's recorder helpful (and generate code you) confused complicated or unusual controls. reason i'd recommend you...
- ...keep uispy nearby can see automationid of controls you're working with.
- and finally, if you're me, you're hoping set automated tests. can tricky since automated test run ci tool such cruisecontrol runs windows service, therefore has no active graphical environment (windows session)...which white requires. suggested way around use virtual machine. lost steam, tool chain had grown large purposes: cruisecontrol->nant->nunit->white + virtual machine.
anyway, hope that's useful.
Comments
Post a Comment