public void Maps_VerifyUserCanSeePropertyNamesonMapPopUp() { try { test = extent.CreateTest("Maps_VerifyUserOpensMapOfTheProperty").Info("Test Started"); NavigationMenuPage navigation = new NavigationMenuPage(BaseTest.driver); Asset_OperatingSummaryAndMapsPage operating = new Asset_OperatingSummaryAndMapsPage(BaseTest.driver); AssetPropertyDetailsPage assetdetails = new AssetPropertyDetailsPage(BaseTest.driver); AssetSummaryPage asset = new AssetSummaryPage(BaseTest.driver); navigation.ClickMainMenu(); navigation.ClickPropertyMaintenanceOption(); Thread.Sleep(3000); asset.NavigateToPropertyDetails(); assetdetails.selectPropertyWithIndustrialType(); operating.clickMapsTab(); String propSelected = operating.ReturnCurrentPropertySelected(); String propnameonMaps = operating.VerifyPropertyNameOnMapScreen(); Assert.IsTrue(propSelected == propnameonMaps, "User does not navigate to maps"); test.Log(Status.Pass, "Test Case passed"); } catch (Exception e) { test.Log(Status.Fail, "Test Case Failed"); baseTest.TakeScreenshot(); Console.WriteLine(e.StackTrace); } }