Aliases.browser.page.form.textboxCreditCardNumber.Keys("");
Aliases.browser.page.form.textboxCreditCardNumber.Keys("4110044510001234[Enter]");
Aliases.browser.page.panel.panel.textboxCreditCardExpirationDate.Keys("");
Aliases.browser.page.panel.panel.textboxCreditCardExpirationDate.Keys("12[Enter]");
Aliases.browser.page.panel.panel.textboxExpirydateyear.Keys("");
Aliases.browser.page.panel.panel.textboxExpirydateyear.Keys("2022");
Aliases.browser.page.form.textboxCvvNumber.Keys("");
Aliases.browser.page.form.textboxCvvNumber.Keys("123");
Aliases.browser.page.form.textboxCvvNumber.Keys("[Enter]");
Aliases.browser.page.panel.panel.textboxExpirydateyear.Keys("[Tab]");
Aliases.browser.page.panel.panel.textboxExpirydateyear.Keys("2022");
Aliases.browser.page.panel.panel.textboxExpirydateyear.Keys("[Enter]");
aqUtils.Delay(ProjectSuite.Variables.ExistsTimeout);
Runner.Pause();
var btnPayNow = Aliases.browser.page.panel.panel2.buttonPayNow;
while (! btnPayNow.Exists)
{
aqUtils.Delay(ProjectSuite.Variables.ExistsTimeout);
btnPayNow = page.NativeWebObject.Find("class", "Pay now", "btn btn-primary");
}
btnPayNow.Click();
The above code is what I tried. I tried SetText as well. When it comes to the last line, it fails saying the button is disabled.