-
Notifications
You must be signed in to change notification settings - Fork 128
First test
Jakub Raczek edited this page Apr 25, 2019
·
8 revisions
Each of test class should inherits ProjectTestBase public class HerokuappTestsNUnit : ProjectTestBase
namespace Ocaramba.Tests.NUnit.Tests
{
using System.Collections.Generic;
using global::NUnit.Framework;
using Ocaramba;
using Ocaramba.Tests.NUnit.DataDriven;
using Ocaramba.Tests.PageObjects.PageObjects.TheInternet;
[TestFixture]
[Parallelizable(ParallelScope.Fixtures)]
public class HerokuappTestsNUnit : ProjectTestBase
{
[Test]
public void FormAuthenticationPageTest()
{
new InternetPage(this.DriverContext).OpenHomePage().GoToFormAuthenticationPage();
var formFormAuthentication = new FormAuthenticationPage(this.DriverContext);
formFormAuthentication.EnterUserName("tomsmith");
formFormAuthentication.EnterPassword("SuperSecretPassword!");
formFormAuthentication.LogOn();
Assert.AreEqual("You logged into a secure area!", formFormAuthentication.GetMessage);
}
}
}
- Home
- Getting started
- Parallel tests execution
- MsTest DataDriven tests from Xml and CSV files
- NUnit DataDriven tests from Xml, CSV and Excel files
- Comparing files by NUnit DataDriven tests
- Visual Testing
- Screen shots: full desktop, selenium. PageSource saving
- Verify-asserts without stop tests
- Downloading files
- Helpers
- Override browser profile preferences, install browser extensions, Headless mode
- Debugging Test.Automation framework
- Logging
- Performance measures
- Webdriver Extends
- More common locators
- Selenium-Grid-support
- Advanced Browser Capabilities and Options
- AngularJS synchronization
- Update App.config or appsettings.json
- Cross browser parallel test execution with testing-Cloud-Providers\SeleniumGrid
- Verifying Javascript Errors from browser
- Enabling Performance Log for Chrome
- Azure DevOps Support
- Edge browser Support
- Downloading and running Selenium Grid with Powershell
- Run Ocaramba tests with Docker container
- HTTP auth in Internet explorer
- ExtentReports Support