A fluent DSL around Web Driver
C# Batchfile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
settings
src
tools/selenium-server-1.0.1
.gitignore
Build.bat
InstallGems.bat
License.txt
Provenance.txt
README.md
RakeFile
Ruby_Not_Installed.txt
go.bat

README.md

FluentBrowserAutomation ReadMe

Description

FluentBrowserAutomation is a fluent domain-specific language (DSL) around Web Driver.

Examples

[Test]
public void Should_verify_the_expiration_after_setting_the_name()
{
    var With.Browser<ChromeDriver>(BaseUrl, false)
        .UiState(
            x => x.InputWithLabel("Name:").SetTo("Jones"),
            x => x.WaitUntil(y => y.InputWithId("selectAll").IsVisible().IsTrue),
            x => x.InputWithId("expiration").ShouldBeEqualTo("5/2/2013")
        );
}

How To Build:

The build script requires Ruby with rake installed.

  1. Run InstallGems.bat to get the ruby dependencies (only needs to be run once per computer)
  2. open a command prompt to the root folder and type rake to execute rakefile.rb

If you do not have ruby:

  1. You need to create a src\CommonAssemblyInfo.cs file. Go.bat will copy src\CommonAssemblyInfo.cs.default to src\CommonAssemblyInfo.cs
  2. open src\FluentBrowserAutomation.sln with Visual Studio and build the solution

License

MIT License

This project is part of MVBA's Open Source Projects.

If you have questions or comments about this project, please contact us at opensource@mvbalaw.com