public void HowToSwitchLinks()
 {
     using (var app = new TestApp())
     {
         app.Launch("https://www.google.co.in/");
         app.FirstPage.SwitchToImageLink();
     }
 }
 public void HowToSelectAnElementFromADropDown()
 {
     using (var app = new TestApp())
     {
         app.Launch("http://www.cleartrip.com/");
         app.FirstPage.SelectValueFromDropDown();
     }
 }
 public void HowToEnterTextInToATextBox()
 {
     using (var app = new TestApp())
     {
         app.Launch("http://www.cleartrip.com/");
         app.FirstPage.EnterTextIntoFromTextBox();
     }
 }
 public void HowToClickOnARadioButton()
 {
     using (var app = new TestApp())
     {
         app.Launch("http://www.cleartrip.com/");
         app.FirstPage.ClickOnRadioButton();
     }
 }
 public void HowToCheckPageTitle()
 {
     using (var app = new TestApp())
     {
         app.Launch("http://www.cleartrip.com/");
         Assert.IsTrue(app.FirstPage.CheckPageTitle(),"The title was not correct!");
     }
 }
 public void ManageWindowsUsingTitle()
 {
     using (var app = new TestApp())
     {
         app.Launch("https://demos.appacitive.com/connect/index.html");
         app.FirstPage.ClickOnSignInLink();
         app.FirstPage.ClickOnSignInWithFacebookButton();
         app.FirstPage.GoToNewWindowUsingTitle();
     }
 }
 public void SelectALinkUsingPartialMatch()
 {
     using (var app = new TestApp())
     {
         app.Launch("http://www.cleartrip.com/");
         app.FirstPage.SelectByMatchingPartialLinkText();
     }
 }