![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to execute a webtest from Powershell Hi, Is there a way of executing a webtest from a powershell script. Currently I have written the webtest script which looks as below in .bat file. Which i am executing through command prompt. Is there a way to either execute the bat file from powershell or if not then executing the webtest from powershell -------------------.Batch File-------------------------------- set test.CheckProxy=HTTP://%1:1151/version "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\mstest.exe" /noresults /testcontainer:"E:\Aditya\Proxy\MCF_Test.webtest" /detail:errormessage set test.CheckProxy= -------------------.Batch File-------------------------------- Thanks, Aditya |
My System Specs![]() |
| | #2 (permalink) |
| | RE: How to execute a webtest from Powershell Hi, There seems to be no way you can use webtest in powershell. So, here is what I have finally done create a bat file, call the webtest in it. use commandline options in the webtest to save the test results file to a particular location and then from there read the test results file to determine whether the webtest was successfull or not Thanks, Aditya "AdityaKir" wrote: Quote: > Hi, > > Is there a way of executing a webtest from a powershell script. Currently I > have written the webtest script which looks as below in .bat file. Which i am > executing through command prompt. Is there a way to either execute the bat > file from powershell or if not then executing the webtest from powershell > -------------------.Batch File-------------------------------- > set test.CheckProxy=HTTP://%1:1151/version > "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\mstest.exe" > /noresults > > /testcontainer:"E:\Aditya\Proxy\MCF_Test.webtest" /detail:errormessage > set test.CheckProxy= > -------------------.Batch File-------------------------------- > > Thanks, > > Aditya |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to execute external program from powershell | PowerShell | |||
| Can only execute gpg from powershell under MY account | PowerShell | |||
| Execute a powershell script from a webpage | PowerShell | |||
| Powershell Execute process | PowerShell | |||
| How to execute (perl) scripts in Powershell without DOS box | PowerShell | |||