- .NET Framework 4.0
- Visual Studio Unit Testing (VS 2010)
- Selenium 2.43.0 C# binding
- ChromeDriver 2.10.0
- IEDriver 2.43.0
- Windows 7
- Visual Studio 2010 Ultimate
- Chrome 37, Firefox 24.6.0 ESR, IE 10
Login credentials are needed in App.config
file.
- AutomateRepeatingInvoicesTab
- Four samples tests for repeating invoices tab
- Many more tests defined but not implemented yet
- Binaries
- Selenium
- ChromeDriver
- IEDriver
- Helpers
- Some helper classes for the tests
- UiComponents
- Page objects created representing application UI elements
-
Add login credential in
/RepeatingInvoicesTabTests/App.config
file -
Open a command line prompt and switch repository
-
Clean Solution
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" "AutomateRepeatingInvoicesTab.sln" /Clean
-
Build Solution
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" "AutomateRepeatingInvoicesTab.sln" /Build Release
-
Run tests
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe" /testcontainer:"RepeatingInvoicesTabTests/bin/Release/RepeatingInvoicesTabTests.dll" /testsettings:"Local.testsettings"
Although untested, the project should be able to run on CI servers like TeamCity using standard configuration built-in for MSTEST
.
Browser types, login credentials can be set by CI automatically through App.config
file.