public void Removevalidation() { try { if (AddedFavAppsValidation.Count > 1) { foreach (var elem in Elipsy) { elem.Click(); WebDriverUtility.WaitUntilClickable(RemoveFavourite, 30); WebDriverUtility.ClickOn(RemoveFavourite); Thread.Sleep(1000); } } } catch (Exception) { Console.WriteLine("No App Selected"); } }
public void RemoveAllApps() { Thread.Sleep(2000); WebDriverUtility.ClickOn(CopyAttchDatathreedotinwrapper); WebDriverUtility.WaitUntilClickable(RemoveFavourite, 30); WebDriverUtility.ClickOn(RemoveFavourite); Thread.Sleep(2000); WebDriverUtility.ClickOn(CreateActionthreedotinwrapper); WebDriverUtility.WaitUntilClickable(RemoveFavourite, 30); WebDriverUtility.ClickOn(RemoveFavourite); Thread.Sleep(2000); WebDriverUtility.ClickOn(CreateStackthreedotinwrapper); WebDriverUtility.WaitUntilClickable(RemoveFavourite, 30); WebDriverUtility.ClickOn(RemoveFavourite); Thread.Sleep(2000); WebDriverUtility.ClickOn(FaxWatcherthreedotinwrapper); WebDriverUtility.WaitUntilClickable(RemoveFavourite, 30); WebDriverUtility.ClickOn(RemoveFavourite); Thread.Sleep(2000); WebDriverUtility.ClickOn(FTPIntakethreedotinwrapper); WebDriverUtility.ClickOn(RemoveFavourite); }