naresh.ynnMemberJune 10, 2017 at 3:39 am #167056
can some one please help me to write script for below requirements.
we have one internal application and below is the scenarios.
1. Login application with username and password.
2.if working fine the log off the application.
3. if not working need to send mail for particular user.
4. this has to repeat every 15 min.
application is running in windows server. please help me.June 10, 2017 at 5:07 am #191689
Really we need more details about the application to be able to help. Steps 3-4 are easy, a scheduled task using PowerShell or a CMD file, but logging onto the application is harder because we don’t know about it
For example, can it be launched from a command line with credentials, or is it a case of clicking on a dialog and typing?
Have you asked the application vendors about this – they would probably have better ideas than we do?
Is there some other way of checking if the application is running, for example a service?
japie10MemberJune 12, 2017 at 11:24 pm #385700
thanks for reply. it will be better launching from a command line with credentials. application is businessline1 sap application fro small business. they are not providing these details.
please help.June 13, 2017 at 1:03 am #191691
Sorry, SAP is something about which I (thankfully) know nothing! I am surprised that they will not support you, but do they have their own support forums?
japie10MemberJune 13, 2017 at 10:58 pm #385701
may be i am not able to explain properly…
just try script for below scenario.
open web browser with one link and login with credentials. if login successful then logout. if not send mail to particular mail id.
please try for thus scenario.June 14, 2017 at 12:56 am #191694
No, you didn’t mention the browser at all previously. From a quick google, adapting the following should help you:
Open IE and log in
(note you will need to get the correct names for the elements in your login page)
Lots of choices – https://www.google.co.uk/search?q=script+to+open+browser+and+log+in&sourceid=ie7&rls=com.microsoft:en-GB:IE-Address&ie=&oe=&gfe_rd=cr&ei=It1AWf7wKtPHXquEjKAG#q=script+to+send+email+automatically&spf=1497423231987
Obviously all this will need some tweaking and adapting to your circumstances, but it should get you there
You must be logged in to reply to this topic.