Same with me too.
It says 'Connected' on my Tablet, but the Internet does not seem to work.
If it works everywhere else then check your Antivirus installed in your device.
Antivirus can stop your WiFi from functioning as it thinks your WiFi is an Malware, Virus, etc.
At last an stupid advice. Contact your Internet Service Provider.