Jump to content
Sign in to follow this  
amakrkr

Check if Website login* is avaliable...or somthing similar.

Recommended Posts

amakrkr

Hello all,

at the momement i am kinda brain-storming so i don't have any code yet.

What am i trying to do is :

Website has a log-in feature. This website is going under maintaince now and then sometimes 5 times a week sometimes once per month.

Now when Website (or database behind it) is under maintaince login obviouselly doesn't work. If you try to log in you get a friendly MessageBox explaining that there is Maintainance.

So my question is ... is there a way with AutoIt to check if log-in works without brining up IE and waiting for site to load.

I am almost 100% that there is a way to do a check. Maybe pining it or somthing?

Anyway if someone has an idea please post it, i have done my bid of searching but haven't found anything that i could use.

Thank you for reading!

Share this post


Link to post
Share on other sites
gerwim

Hey there,

I'm new to AutoIt, but I think you can use WinHTTP. Just query a special "check" page (with connects with a database) and when it has an error, provide another error in the msgbox.

Good luck!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.