public void NumberOfDealsfromTileandTablematches()
 {
     try
     {
         test = extent.CreateTest("NumberOfDealsfromTileandTablematches").Info("Test Started");
         IMTRLandingPage    imtr       = new IMTRLandingPage(BaseTest.driver);
         NavigationMenuPage navigation = new NavigationMenuPage(BaseTest.driver);
         navigation.ClickMainMenu();
         navigation.ClickTrackRecordOption();
         //Count of deals from performance highlights page
         int OngoingDealsOntitle = imtr.GetNumOfOngoingDealsOnTile();
         int SoldDealsOntitle    = imtr.GetNumOfSoldDealsOnTile();
         //Verification on sold count matches from tile and table
         imtr.ClickOngoingDeals();
         int OngoingDealsInTable = imtr.GetNumOfOngoingDealsInTable();
         Assert.IsTrue(OngoingDealsOntitle == OngoingDealsInTable, $"Count displayed on performance {OngoingDealsOntitle} does not match count in table {OngoingDealsInTable}");
         //Verification on sold count matches from tile and table
         imtr.ClickSoldDeals();
         int SoldDealsInTable = imtr.GetNumOfSoldDealsInTable();
         Assert.IsTrue(SoldDealsOntitle == SoldDealsInTable, $"Count displayed on performance {SoldDealsOntitle} does not match count in table {SoldDealsInTable}");
         test.Log(Status.Pass, "Test Case Passed");
     }
     catch (Exception e)
     {
         test.Log(Status.Fail, "Test Case Failed");
         baseTest.TakeScreenshot();
         Console.WriteLine(e.StackTrace);
     }
 }