public void Links(Datarow datarow, IWebDriver driver, string url)
 {
     try
     {
         if (url.Contains("user-scalable=yes"))
         {
             var link = new LinksExpand();
             link.AllLink(driver, datarow);
             //Productpage page = new Productpage();
             // page.productPage(driver, datarow);
         }
         else
         {
             var link = new LinksExpand();
             link.AllLink(driver, datarow);
             //  Productpage page = new Productpage();
             // page.productPage(driver, datarow);
         }
     }
     catch(Exception ex)
     {
         var e = ex.ToString();
         datarow.Newrow("Exception", "Exception Not Exopected", e, "FAIL");
     }
 }
        public void Tabbatch(Datarow datarow, IWebDriver driver)
        {
            //Method Homapge validations

            #region HomePage Validations

            driver.Navigate().GoToUrl("http://tablet.mobankdev.com");
            new Driverdefining();

            var title = driver.Title;
            //Validating the Home page title.

            datarow.Newrow("Home Page Title", "Tablet: Tickle Shop", title,
                title == "Tablet: Tickle Shop" ? "PASS" : "FAIL");
            var blob = new BlobStorage();
            blob.Blob(driver, datarow, "http://tablet.mobankdev.com");
            var home = new HomepageTab();
            home.Homepage(driver, datarow);
            var allproducts = new LinksExpand();
            allproducts.AllLink(driver, datarow);

            #endregion
        }