RE: Can a Selenium regression run be linked to a an overnight dev build of a website?
Hi there, I’ve been asked a question by a few of our developers which I require a bit of assistance on.
My experience of using Selenium Webdriver so far has been with Java through the Eclipse IDE. The technology stack being used at the company I work for at the moment is purely .Net. The question that has been put to me is……..is it possible for a selenium automated regression pack to start, once the atuomated overnight code build in Visual Studio has been done?
Given that my tests are written in Java, and not in .Net, does this restrict me in being able to do what the developers are after? Or would I need to write my tests in .Net, so that this function will work? Ideally, I don’t want to do that at this stage as I’ve put a lot of time into the Java-build selenium tests.
If anyone has got any advise to offer on this, it would be much appreciated, to help with my understanding of this.
Basically what we want to do here is
1. Make you test code build and run using either ANT or Maven.
2. Add your test code to the TFS server.
3. Add the ANT/Maven plugin for TFS from here https://visualstudiogallery.msdn.microsoft.com/2011f516-15a7-4f9a-8b86-1e0894a75739
And ask your Development team to create a Maven or ANT task.
here are some links you may want to look at
Enabling ANT or Maven in tfs: https://msdn.microsoft.com/en-us/library/jj155784.aspx#enablebuilds
TFS plugin: https://visualstudiogallery.msdn.microsoft.com/2011f516-15a7-4f9a-8b86-1e0894a75739
I will also recommend that you use TestNG in your tests.