In recored step the selection of check is showing.but actually value of checkbox selection is not passing to server.
when same thing doing manually it work fine.how to write code for checking checkbox in c#.
If you prefer to use coded step for checking the checkbox and triggering the event, please see this article for a sample code.
Thank you.But coded step is not working for checkbox check.
answered on 16 Jul 2012, 04:48 PM
There is no need to use coded step for such simple action that can be easily done via the UI. However, I have recorded this short video just to demonstrate how the coded step works against this demo site. Note that I'm using almost exactly the same code seen in the article. The only difference is the checkbox ID.
Also, please let me know whether the suggested non-coded solution works. Were you able to resolve the issue by setting the "InvokeOnClick" property to True?