We have a web application which alerts when a server refresh is needed. When the alert comes we have to open a windows application,give the server name & refresh the server. Can this process be automated by using any scripting languages?
Asked
Active
Viewed 687 times
2
-
How does the web application alert that a server needs refreshing? – websch01ar Sep 17 '14 at 12:45
1 Answers
3
You alert system could launch a python script. For example take a look here for a simple way to launch a python script when outlook gets an email.
Then you can use pywinauto, it has a very simple API:
from pywinauto import application
app = application.Application.start("notepad.exe")
app.Notepad.MenuSelect("Help->About Notepad")
app.AboutNotepad.OK.Click()
app.Notepad.Edit.TypeKeys ("pywinauto Works!", with_spaces = True)
Also see: Why write yet another automation tool if there are so many out there? for a comparison with other existing tools.