public static bool configureSMSSetting(string subID, string authCode) { MessageSettingScreen MSSObj = new MessageSettingScreen(); MSSObj.clickSMSCheckBox(); if (MSSObj.configSMS(subID, authCode)) { MSSObj.saveButtonClick(); POM.Helper.SeleniumHelper.Sleep(3); return(true); } return(false); }
public static bool configureEmailSettings(string serviceProvider, string emailID, string pwd) { MessageSettingScreen MSSObj = new MessageSettingScreen(); MSSObj.clickEmailCheckBox(); if (MSSObj.configEmail(serviceProvider, emailID, pwd)) { MSSObj.saveButtonClick(); POM.Helper.SeleniumHelper.Sleep(3); return(true); } return(false); }