public void ComplexTableCheck()
        {
            driver = new FirefoxDriver();
            driver.Navigate().GoToUrl("https://myurl/url.aspx");

            TablePage page = new TablePage();

            //read table
            Utilties.ReadTable(page.table);

            Console.WriteLine("**********************************");
            //Get the cell value from the table
            Console.WriteLine("The name {0} with Email {1} and Phone {2}",
                              Utilties.ReadCell("Name", 2), Utilties.ReadCell("Email", 2), Utilties.ReadCell("Phone", 2));
            Console.WriteLine("**********************************");

            //Delete Prashanth
            Utilties.PerformActionOnCell("5", "Name", "Prashanth", "Delete");
            //Save Prashanth
            Utilties.PerformActionOnCell("5", "Name", "Prashanth", "Save");
            //Checkbox Prashanth
            Utilties.PerformActionOnCell("Option", "Name", "Prashanth");

            Console.Read();
        }
        public void ComplexTableTest()
        {
            driver = new ChromeDriver();
            driver.Manage().Window.Maximize();
            driver.Navigate().GoToUrl("https://myUrl/url.aspx");
            Console.WriteLine("Using Nunit SetUp to Open Browser with Selenium Webdriver");
            SelectElement mydrpdwn = new SelectElement(driver.FindElement(By.XPath("//*[@id='ddlSample']")));

            mydrpdwn.SelectByText("sampleText");
            driver.FindElement(By.XPath("//*[@id='Value1']")).SendKeys("sampleString");
            driver.FindElement(By.XPath("//*[@id='test']")).Click();
            driver.FindElement(By.XPath("//*[@id='ComplexTable']/tbody/tr[22]/td[45]/a")).Click();
            driver.Close();
            driver.SwitchTo().Window(driver.WindowHandles.Last());
            driver.FindElement(By.XPath(".//a[contains(@href,'fh123')]/img[contains(@src,'../images/pid.png')]")).Click();
            TablePage page = new TablePage();

            Utilties.ReadTable(page.table);
            Utilties.PerformActionOnCell("StringValue1", "StringValue2", "StringValue3");
        }