How to set Setup script path to Out folder from Test Settings->Setup and Cleanup Scripts?
-
Thursday, March 29, 2012 11:50 AM
like: <out>\pre-test.cmd
Dayong
All Replies
-
Friday, March 30, 2012 10:09 AMModerator
Hi Dayony,
Seems you want load the Setup script from out folder, but I want to know why would you do this?
As far as I know the Setup and Cleanup Scripts setting pane don’t support the relative path but Deployment pane could hold the path by this way.
Here is a link about how to specify a script through Setup and Cleanup Scripts:
- http://msdn.microsoft.com/en-us/library/ms182480(v=vs.90).aspx
Please note the section of Setup and Cleanup Scripts.
Hope this could help.
Tony Xiao [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Tony xiaoModerator Friday, April 06, 2012 4:40 AM
- Unmarked As Answer by Dayong Wang Tuesday, April 17, 2012 4:00 AM
- Marked As Answer by Dayong Wang Tuesday, April 17, 2012 4:00 AM
- http://msdn.microsoft.com/en-us/library/ms182480(v=vs.90).aspx
-
Saturday, March 31, 2012 1:23 AM
The other way to achieve your goal would be to excute the setp script in ClassInitialize method by just specifying the name of the script (i.e. relative path).
Thanks,
Anuj
http://www.anujchaudhary.com
- Marked As Answer by Tony xiaoModerator Friday, April 06, 2012 4:40 AM

