public void TC_VerifySearchFilter() { List <string[]> isEnabled = cmn.GetConfig("FitnessDevice", "IncentiveEnabled", "NutritionApp"); fitnessEnabled = isEnabled.ElementAt(0)[1].ToLower(); incentiveEnabled = isEnabled.ElementAt(0)[2].ToLower(); nutritionEnabled = isEnabled.ElementAt(0)[3].ToLower(); if (fitnessEnabled.Equals("false") && nutritionEnabled.Equals("false")) { Assert.Ignore("Device and Apps not available for Client"); } //To call the Page Login Method //Login lgn = new Login(); //lgn.TC_VerifyLogin(); //Page_HAPrompt haprompt = new Page_HAPrompt(); Common devices = new Common(); //devices.ClickDevicesAndApps(); Page_DevicesAndApps pdevices = new Page_DevicesAndApps(); //pdevices.NavigateToManageDevices(); Boolean result = pdevices.VerifyDeviceFileter("devicesfilter", "Fitbit"); is_soft_assert = false; Assert.IsTrue(result); }
//[Category("ProdSanity")] //[Category("Regression")] public void TC_VerifySearchFilter() { //To call the Page Login Method //Login lgn = new Login(); //lgn.TC_VerifyLogin(); //Page_HAPrompt haprompt = new Page_HAPrompt(); if ((GlobalVariables.clientname == "NUCOR") || (GlobalVariables.clientname == "Dollar General")) { Common devices = new Common(); devices.ClickDevicesAndApps(); Page_DevicesAndApps pdevices = new Page_DevicesAndApps(); pdevices.NavigateToMyNuterition(); Boolean result = pdevices.VerifyDeviceFileter("devicesfilter", "Fitbit"); is_soft_assert = false; Assert.IsTrue(result); } }