public void PortfolioSummary_VerifyListColumnLabels()
 {
     try
     {
         test = extent.CreateTest("PortfolioSummary_VerifyCardLabels").Info("Test Started");
         NavigationMenuPage navigation = new NavigationMenuPage(BaseTest.driver);
         AssetSummaryPage   funds      = new AssetSummaryPage(BaseTest.driver);
         navigation.ClickMainMenu();
         navigation.ClickPropertyMaintenanceOption();
         funds.ChangeToListView();
         String propName      = funds.ListView_ReturnPropertyNamelabel();
         String acqu          = funds.ListView_ReturnAcquisitionlabel();
         String percentLeased = funds.ListView_ReturnPercentLeasedlabel();
         String currentDebt   = funds.ListView_ReturnCurrentDebtlabel();
         String currentLeve   = funds.ListView_ReturnCurrentLeveragelabel();
         String basisT        = funds.ListView_ReturnBasislabel();
         String basisPSF      = funds.ListView_ReturnBasisPSFlabel();
         Assert.IsTrue(propName == "Property Name", $"Expected:'Property Name' does not match Actual {propName}");
         Assert.IsTrue(acqu == "Acquisition Date", $"Expected:'Acquisition Date' does not match actual {acqu}");
         Assert.IsTrue(percentLeased == "% Leased", $"Expected:'% Leased' does not match actual {percentLeased}");
         Assert.IsTrue(currentDebt == "Current Debt", $"Expected:'Current Debt:' does not actual {currentDebt}");
         Assert.IsTrue(currentLeve == "Current Leverage", $"Expected:'Current Leverage' does not match actual{currentLeve}");
         Assert.IsTrue(basisT == "Basis $", $"Expected:'Basis $' does not match actual{basisT}");
         Assert.IsTrue(basisPSF == "Basis psf", $"Expected:'Basis psf' does not match actual{basisPSF}");
         test.Log(Status.Pass, "Test Case passed");
     }
     catch (Exception e)
     {
         test.Log(Status.Fail, "Test Case Failed");
         baseTest.TakeScreenshot();
         Console.WriteLine(e.StackTrace);
     }
 }
 public void PortfolioSummary_VerifyListColumnLabelsLastSix()
 {
     try
     {
         test = extent.CreateTest("PortfolioSummary_VerifyListColumnLabelsLastSix").Info("Test Started");
         NavigationMenuPage navigation = new NavigationMenuPage(BaseTest.driver);
         AssetSummaryPage   funds      = new AssetSummaryPage(BaseTest.driver);
         navigation.ClickMainMenu();
         navigation.ClickPropertyMaintenanceOption();
         funds.ChangeToListView();
         String noi           = funds.ListView_ReturnNOIlabel();
         String cashOnCash    = funds.ListView_ReturnCashOnCashlabel();
         String COCYield      = funds.ListView_ReturnCOCYieldlabel();
         String distributions = funds.ListView_ReturnDistributionslabel();
         String netEquity     = funds.ListView_ReturnNetEquitylabel();
         String netEquityPSF  = funds.ListView_ReturnNetEquityPSFlabel();
         String contributions = funds.ListView_ReturnContributionslabel();
         Assert.IsTrue(noi == "NOI", $"Expected:'NOI' does not match Actual {noi}");
         Assert.IsTrue(cashOnCash == "Cash On Cash", $"Expected:'Cash On Cash' does not match actual {cashOnCash}");
         Assert.IsTrue(COCYield == "COC Yield", $"Expected:'COC Yield' does not match actual {COCYield}");
         Assert.IsTrue(distributions == "Distributions", $"Expected:'Distributions' does not actual {distributions}");
         Assert.IsTrue(netEquity == "Net Equity", $"Expected:'Net Equity' does not match actual{netEquity}");
         Assert.IsTrue(netEquityPSF == "Net Equity psf", $"Expected:'Net Equity psf' does not match actual{netEquityPSF}");
         Assert.IsTrue(contributions == "Contributions", $"Expected:'Contributions' does not match actual{contributions}");
         test.Log(Status.Pass, "Test Case passed");
     }
     catch (Exception e)
     {
         test.Log(Status.Fail, "Test Case Failed");
         baseTest.TakeScreenshot();
         Console.WriteLine(e.StackTrace);
     }
 }
        public void verifyChangeViewWorksForFundA_B()
        {
            try
            {
                test = extent.CreateTest("verifyChangeViewWorksForFundA_B").Info("Test Started");
                AssetSummaryPage funds = new AssetSummaryPage(BaseTest.driver);
                funds.SelectFundsFromDropdwon();
                funds.ClickAssetSummary();
                //Verify user can switch to list view
                Boolean lview = funds.ChangeToListView();
                Assert.IsTrue(lview == true, "View not changed to list view");
                driver.Navigate().Refresh();
                Thread.Sleep(5000);

                //Verify switch view works on fund B
                funds.ClickFundBTab();
                driver.Navigate().Refresh();
                funds.ClickAssetSummary();
                Boolean cview = funds.ChangeToCardView();
                Assert.IsTrue(cview == true, "View not changed to card view");
                funds.ClickFundATab();
                test.Log(Status.Pass, "Test Case passed");
            }
            catch (Exception e)
            {
                test.Log(Status.Fail, "Test Case Failed");
                baseTest.TakeScreenshot();
                Console.WriteLine(e.StackTrace);
            }
        }