public void WhenUserClicksOnSevenDaysFreeSubscribeNowButton() { //Read the elemnet locator from JSON File var Trial = _parser.GetElementByName("Trial"); SEActions.ClickLink(Trial); }
public void ThenUserClicksOnSubscribeLinkInExistingUserSection() { //Read the elemnet locator from JSON File var link = _parser.GetElementByName("Subscribe"); SEActions.ClickLink(link); }
public void ThenUserClicksOnTermsAndConditionsLinkInCreateYourAccountSection() { //read the elemnt locatores from JSOn file var link = _parser.GetElementByName("TermsConditions"); SEActions.ClickLink(link); }
public void ThenUserClicksOnClickHereLinkInCreateYourAccountSection() { //Read the elemnet locator from JSON File var link = _parser.GetElementByName("ClickHere"); SEActions.ClickLink(link); }
public void WhenClickOnLink(string link) { try { var _link = _parser.GetElementByName(link); SEActions.ClickLink(_link); } catch (Exception ex) { Console.WriteLine(ex); } }