using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
namespace Priyanka
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
using (IWebDriver driverFF = new FirefoxDriver())
{
driverFF.Navigate().GoToUrl(" http://49.248.3.14:8881");
driverFF.FindElement(By.Id("btnlogin")).Click();
driverFF.FindElement((By.Id("txtusername"))).SendKeys("10426229");
driverFF.FindElement((By.Id("txtpassword"))).SendKeys("10426229");
driverFF.Url ="http://49.248.3.14:8881/Index.aspx";
}
}
}
}