Well my wife's high school needed some votes on a local news channel site to win some recognition. The rules say you can only vote once per hour. To keep things ethical I have limited our voting to 2 votes per hour (1 for me and 1 for my wife). To do this though I needed an automated way of putting in the votes. I used an open source web UI testing tool (Watin) to create a console app that opens the web page, selects the correct radio button, and then hit the vote button. Once complete the application closes IE. It then waits 60 minutes and starts all over again. I have this running on my virtual machine servers so it can run for the next few days.
This was a neat test and now has my interest in this tool for other items. While I am not at the computer during my votes - I am still abiding by the rules :o).
Happy Voting!!!!
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment