public void Registration(String methodName, Jquerywidget jquerywidget) throws Exception {

    Registration regist = jquerywidget.getRegistration();

    if (StringUtils.isEmpty(methodName)) {
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
      ;
    }

    waitForElementPresent(uiConstants.getSignupLink(), methodName);
    getXpathWebElement(uiConstants.getSignupLink());
    click();

    waitForElementPresent(uiConstants.getRegFirstName(), methodName);
    getXpathWebElement(uiConstants.getRegFirstName());
    sendKeys(regist.getFirstname());

    waitForElementPresent(uiConstants.getRegLastName(), methodName);
    getXpathWebElement(uiConstants.getRegLastName());
    sendKeys(regist.getLastname());

    waitForElementPresent(uiConstants.getRegEmail(), methodName);
    getXpathWebElement(uiConstants.getRegEmail());
    sendKeys(regist.getEmail());

    waitForElementPresent(uiConstants.getRegPassword(), methodName);
    getXpathWebElement(uiConstants.getRegPassword());
    sendKeys(regist.getPassword());

    waitForElementPresent(uiConstants.getRegPhoneNumber(), methodName);
    getXpathWebElement(uiConstants.getRegPhoneNumber());
    sendKeys(regist.getPhonenumber());

    waitForElementPresent(uiConstants.getRegSubmitButton(), methodName);
    getXpathWebElement(uiConstants.getRegSubmitButton());
    click();
  }
  public void billingInfo(String methodName, Jquerywidget jquerywidget) throws Exception {

    BillingInfoPage billInfo = jquerywidget.getBillingInfoPage();
    CardInfoPage cardInfo = jquerywidget.getCardInfoPage();

    if (StringUtils.isEmpty(methodName)) {
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
      ;
    }
    waitForElementPresent(uiConstants.getEmail(), methodName);
    getXpathWebElement(uiConstants.getEmail());
    sendKeys(billInfo.getBillInfoEmailValue());

    waitForElementPresent(uiConstants.getFirstName(), methodName);
    getXpathWebElement(uiConstants.getFirstName());
    sendKeys(billInfo.getBillInfoFirstNameValue());

    waitForElementPresent(uiConstants.getLastName(), methodName);
    getXpathWebElement(uiConstants.getLastName());
    sendKeys(billInfo.getBillInfoLastNameValue());

    waitForElementPresent(uiConstants.getCompany(), methodName);
    getXpathWebElement(uiConstants.getCompany());
    sendKeys(billInfo.getBillInfoCompanyValue());

    waitForElementPresent(uiConstants.getAddress1(), methodName);
    getXpathWebElement(uiConstants.getAddress1());
    sendKeys(billInfo.getBillInfoAddress1Value());

    waitForElementPresent(uiConstants.getAddress2(), methodName);
    getXpathWebElement(uiConstants.getAddress2());
    sendKeys(billInfo.getBillInfoAddress2Value());

    waitForElementPresent(uiConstants.getCity(), methodName);
    getXpathWebElement(uiConstants.getCity());
    sendKeys(billInfo.getBillInfoCityValue());

    waitForElementPresent(uiConstants.getState(), methodName);
    getXpathWebElement(uiConstants.getState());
    sendKeys(billInfo.getBillInfoStateValue());

    waitForElementPresent(uiConstants.getPostalCode(), methodName);
    getXpathWebElement(uiConstants.getPostalCode());
    sendKeys(billInfo.getBillInfoPostCodeValue());

    waitForElementPresent(uiConstants.getPhoneNumber(), methodName);
    getXpathWebElement(uiConstants.getPhoneNumber());
    sendKeys(billInfo.getBillInfoPhoneNumberValue());

    waitForElementPresent(uiConstants.getCardNumber(), methodName);
    getXpathWebElement(uiConstants.getCardNumber());
    sendKeys(cardInfo.getCardInfoCardNumberValue());

    waitForElementPresent(uiConstants.getSecurityNumber(), methodName);
    getXpathWebElement(uiConstants.getSecurityNumber());
    sendKeys(cardInfo.getCardInfoSecurityNumberValue());

    waitForElementPresent(uiConstants.getNameCard(), methodName);
    getXpathWebElement(uiConstants.getNameCard());
    sendKeys(cardInfo.getCardInfoNameOnCardValue());

    waitForElementPresent(uiConstants.getReviewOrder(), methodName);
    getXpathWebElement(uiConstants.getReviewOrder());
    click();
    waitForElementPresent(uiConstants.getSubmitOrder(), methodName);
    getXpathWebElement(uiConstants.getSubmitOrder());
    click();
  }