We can open and close any webpage with time internal. This kind of scenarios are helpful for the website test.First we will create visual basic script file after that we will execute that script with .bat file.
After creation of below files just click on .bat file. browser will open with site google.com. After that browser will close.
d:\SMS\SMS.VBS file
After above steps just attach .bat file to windows scheduler.
After creation of below files just click on .bat file. browser will open with site google.com. After that browser will close.
d:\SMS\SMS.VBS file
Call CallUrl()
Sub CallUrl()
On Error Resume Next
Dim objRequest
Dim URL
Set objRequest = CreateObject("Microsoft.XMLHTTP")
URL = "http://www.google.com"
objRequest.open "POST", URL , false objRequest.Send Set objRequest = Nothing End Sub.bat file
cscript.exe "d:\SMS\SMS.VBS"
After above steps just attach .bat file to windows scheduler.
Post a Comment
Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.