If you don't mind we'll do it in the command line since the gui doesn't always seem to get things straight and it's easier to diagnose errors this way. First off you have to set your essid.
Code:
iwconfig wlan0 essid robberts
After that you can use a dhcp program to get the rest of your settings:
Now try your internet. If it's alright it should work. But there might be a few problems right now which keep you from getting on the internet. You probably have to set a gateway:
Code:
route add default gw x.x.x.x
x.x.x.x is your router's IP address.
You also might need to set your DNS server which is your AP. In your /etc/resolv.conf file you have to add a line:
where x.x.x.x is your AP again.
I can't help you with automating the process as I have another distro and I know suse uses different scripts.