Skip to content

Instantly share code, notes, and snippets.

@keithbloom
Created October 30, 2011 07:14
Show Gist options
  • Select an option

  • Save keithbloom/1325638 to your computer and use it in GitHub Desktop.

Select an option

Save keithbloom/1325638 to your computer and use it in GitHub Desktop.
SeleniumVisualStudio
[TestFixture]
public class BasicTests : SeleniumRunner
{
protected override string ProjectName
{
get { return "Selenium.Example.WebSite"; }
}
}
[Test]
public void Should_HaveOmnitureProductCode()
{
Assert.That(selenium.GetHtmlSource().Contains("s.products"), Is.True, "Omniture script is missing");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment