public void TC_TrackerRecommendation() { Page_TrackerLearnMore ptlm = new Page_TrackerLearnMore(Base.softassertions); cmn.ClickTrackerMenu(); cmn.ClickOnLearnMore(); List <String[]> devicename = CSVReaderDataTable.GetCSVData("CommonContent", "Page_TrackerLearnMore", "recomandationtile"); // pdevices.ClickOnFitnessCheckBox(); is_soft_assert = true; for (int i = 0; i < devicename.Count; i++) { ptlm.VerifyRecommandedTrackers(devicename.ElementAt(i)[4]); } softassertions.AssertAll(); }
public void VerifyRecommendedTracker() { //Login lgn = new Login(); //lgn.TC_VerifyLogin(); //Page_HAPrompt haprompt = new Page_HAPrompt(); Page_TrackerLearnMore ptlm = new Page_TrackerLearnMore(softassertions); Common com = new Common(); com.ClickTrackerMenu(); com.ClickOnLearnMore(); List <String[]> devicename = CSVReaderDataTable.GetCSVData("CommonContent", "Page_TrackerLearnMore", "recomandationtile"); // pdevices.ClickOnFitnessCheckBox(); is_soft_assert = true; for (int i = 0; i < devicename.Count; i++) { ptlm.VerifyRecommandedTrackers(devicename.ElementAt(i)[4]); } softassertions.AssertAll(); }
public void VerifyNonRecommendedTracker() { //Page_Login plogin = new Page_Login(); //plogin.Login(); Page_TrackerLearnMore ptlm = new Page_TrackerLearnMore(softassertions); Common com = new Common(); //com.ClickTrackerMenu(); //com.ClickOnLearnMore(); com.ClickFooterTrackerLink(); List <String[]> devicename = CSVReaderDataTable.GetCSVData("CommonContent", "Page_TrackerLearnMore", "notrecomandationtile"); // pdevices.ClickOnFitnessCheckBox(); is_soft_assert = true; for (int i = 0; i < devicename.Count; i++) { ptlm.VerifyNotRecommandedTrackers(devicename.ElementAt(i)[4]); } softassertions.AssertAll(); }
public void TC_VerifyTrackerLink() { //To call the Page Login Method //Page_Login plogin = new Page_Login(); //plogin.Login(); Common trackerlink = new Common(); trackerlink.ClickFooterTrackerLink(); Page_TrackerLearnMore learnmore = new Page_TrackerLearnMore(); List <string[]> result = learnmore.LearnMorePage(); Assert.Multiple(() => { for (int i = 0; i < result.Count; i++) { Assert.IsTrue(Convert.ToBoolean(result.ElementAt(i)[1]), result.ElementAt(i)[0]); } } ); //Assert.Ignore("Test Case Disabled due to bug DEF-2617"); //Report.Skip("Test Case Disabled due to bug DEF-2617"); }