Re: [Watinfixture-users] Arrays of checkbox controls with differentVALUE's
Status: Alpha
Brought to you by:
kalnir
|
From: Rob M. <rma...@rm...> - 2007-09-21 03:41:30
|
Hey all, Some progress to report :) I've successfully added support for checkbox arrays. The following actions have been implemented: |verify checkbox array|MyArray|value|first|exists| |verify checkbox array|MyArray|value|first|reads|Label for Checkbox1| |verify checkbox array|MyArray|value|forth|is empty| |verify checkbox array|MyArray|value|first|is checked| |verify checkbox array|MyArray|value|second|is not checked| |verify checkbox array|MyArray|value|first|has title|Title for Checkbox1| |verify checkbox array|MyArray|value|forth|title is empty| |verify checkbox array|MyArray|value|first|style|background-color|has setting|Brown| |click checkbox array|MyArray|value|second| |check checkbox array|MyArray|value|second| |uncheck checkbox array|MyArray|value|second| Essentially the same set of UserActions as a regular checkbox. Not to sure if the use of the word "array" is the best choice here... but it all works (via watinfixture test cases) so I'm happy enough. I've also successfully added support for clicking on buttons that result in a javascript "prompt(..)" to confirm the action. I've only done the simple case for button by id: |click button|cmd_Ok1|with confirm|ok| |click button|cmd_Ok1|with confirm|cancel| I've also successfully added support for the weird case of a "double" confirm (i.e. the application prompts the user "are you sure?" and then prompts again with an "are you really really sure?"): |click button|cmd_Ok4|with double confirm|ok|and|ok| |click button|cmd_Ok4|with double confirm|ok|and|cancel| I haven't updated the documentation. Is it generated or manually maintained? Is there any interest in me submitting a patch for the changes? Regards, Rob |