I prefer to use scripting and I haven't had to manually enter my credentials to access an ASUS router for years!
However, I acknowledge that the 'art' of scripting logons is potentially vulnerable, as passing the router credentials as a command line argument (or even extracting them from an obfuscated Registry key) to the script at some point means the password may be disclosed in plain text - unlike commercial secure password vaulting such as LastPass etc.?
Furthermore, scripting allows more than a simple logon..
My example physically logs onto the router and then auto-navigates to display the Wireless log.
I'm sure as a developer you probably have a set of similar scripts to eliminate the tedious manual keystrokes needed to test new GUI features etc.?
http://tinypic.com/r/24eb0vn/8