Hi All,
I have a Selenium Web Driver project implemented as Class Library Project and using Nunit for testing.
Testing URL and DB Connection settings is entered in the App. config file and the Test [Setup] will get the the App config value for the URL and DB Connection Keys.
Bamboo will do a Ms Build Task and build the Automation solution from the Git, after which I will run the Smoke Test Suite
with the compiled APP Config value. My requirement is to do the Testing for multiple silos, one after another.For this I can add multiple task in Bamboo for each silo, but hoe can I change the Test URL dynamically
.
Bamboo had an option to take a command line argument , but the project being implemented as Class Library.. I don't know how to take the command line argument.
I change the project as a console application , but I was not able to run the different tests in Visual Studio with N Unit Test Adapter.
So My Question is ,
when you are implementing Selenium Automation in C#,
1) What should be the project type (Console Application or Class Library)?
2) If it is Library Class project, How can I change the test URL dynamically , when integrated with Bamboo or any other CI tool.
3) If it is a Console project , How can I use my Nunit Test Adaptor?
Appreciate any Help..
Thanks
Ajay.