Answered by:
Running Selenium tests from build

Question
-
We are using Selenium to run tests on our Azure site. We write the tests in C# and run them using the Visual Studio Unit Testing Framework. The tests run fine locally (using the test explorer) but we would like to run the tests automatically.
We are currently using the TF Service to build and deploy our project and it would be most convenient to be able to run the Selenium tests form there. We have tried this but the test fail (presumably due to firewall restrictions).
Is there any way to allow the tests to run (if not now is there any plans for such a feature in the future)?
Wednesday, January 23, 2013 2:32 PM
Answers
-
I am afraid that customizations of the hosted build machine in TF Service are not supported at this time. In order to complete your tests you will need to configure your own on-prem build controller (either on a machine in your office, or on an Azure VM). Please refer to this post for help: http://blogs.msdn.com/b/bharry/archive/2011/09/15/configuring-a-build-server-against-your-shiny-new-hosted-tfs-account.aspx
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help.- Marked as answer by Trevor HancockMicrosoft employee, Moderator Friday, March 8, 2013 10:36 PM
Friday, March 8, 2013 10:36 PMModerator
All replies
-
Hi Martin,
Thank you for your post.
I am trying to involve someone to further look at this issue. There might be some time delay. Appreciate your patience.
Would you please email me(v-liliw@microsoft.com) your email address, for not miss your email, please include this case URL information in the mail.
Regards,
Lily Wu
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.Thursday, January 24, 2013 4:21 AMModerator -
Can you provide you email contact to Lily or me at anj-2011@hotmail.comMonday, January 28, 2013 10:26 PM
-
I am afraid that customizations of the hosted build machine in TF Service are not supported at this time. In order to complete your tests you will need to configure your own on-prem build controller (either on a machine in your office, or on an Azure VM). Please refer to this post for help: http://blogs.msdn.com/b/bharry/archive/2011/09/15/configuring-a-build-server-against-your-shiny-new-hosted-tfs-account.aspx
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help.- Marked as answer by Trevor HancockMicrosoft employee, Moderator Friday, March 8, 2013 10:36 PM
Friday, March 8, 2013 10:36 PMModerator -
Is something similar planned for Git repositories? Currently have no option to run selenium tests with Firefox.
Tuesday, May 14, 2013 8:29 AM -
@Trevor: Currently on-prem build controller is not working with Git repositories. Will that be possible soon?Friday, May 17, 2013 6:19 AM