public Boolean NavigateToUrl(String url) { try { objBaseTestClass.GetObjdriver().Navigate().GoToUrl(url); objBaseTestClass.GetObjUtilityClass().wait(2000); return(true); } catch (Exception exception) { Console.WriteLine("Got Exception : " + exception.Message); return(false); } }
public void CloseAdvPopUp() { objBaseTestClass.GetObjUtilityClass().logReporter("Close Login Page Window", objBaseTestClass.GetObjWrapperClass().ClickByJavaScriptExecutor(btnclose2)); }
public void selectTriptype(String RadioButtonId) { By rdbButton = By.XPath("//nav[@class='row fieldRow tripType']//ul//li//input[@id='" + RadioButtonId + "']"); Console.WriteLine("Enter into selectTriptype "); objBaseTestClass.GetObjUtilityClass().logReporter("Select Round Trip", objBaseTestClass.GetObjWrapperClass().clickOnElement(rdbButton)); }