Skip to content

Instantly share code, notes, and snippets.

@pauljz
Created March 29, 2014 20:18

Revisions

  1. pauljz created this gist Mar 29, 2014.
    26 changes: 26 additions & 0 deletions gistfile1.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    using System;
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    namespace FluentAutomation.Tests
    {
    [TestClass]
    public class Issue69Test : FluentTest
    {
    public Issue69Test()
    {
    FluentAutomation.SeleniumWebDriver.Bootstrap(
    new Uri("http://192.168.1.19:4444/wd/hub"),
    SeleniumWebDriver.Browser.InternetExplorer
    );
    // I'm using remote webdriver to an IE9 VM. If on a machine with IE9 installed, this works:
    //FluentAutomation.SeleniumWebDriver.Bootstrap(SeleniumWebDriver.Browser.InternetExplorer);
    }

    [TestMethod]
    public void ReproduceIssue69()
    {
    I.Open("https://teammentor.net/teamMentor");
    I.WaitUntil(() => I.Assert.Exists("#topRightMenu"));
    }
    }
    }