paypal-sandbox-init
setTimeout 180000
openAndWait https://developer.paypal.com
type login_email ${paypalUsername}
type login_password ${paypalPassword}
clickAndWait submit
open wp-admin
waitForElementPresent link=General Options
clickAndWait link=General Options
click payments-tab
type //input[@name='payment_type_names[]' and @value=''] PayPal Std
select //table[@id='payment_types']/tbody/tr[8]/td[2]/select label=SPECIAL: PayPal (Sandbox)
type yak_paypal_account ${paypalStandardAccount}
select yak_paypal_return_url label=Thanks for your order
click yak_paypal_include_shipping
clickAndWait options_update5
type //input[@name='payment_type_names[]' and @value=''] PayPal Pro
select //table[@id='payment_types']/tbody/tr[9]/td[2]/select label=SPECIAL: PayPal Payments Pro (Sandbox)
type yak_paypal_api_username ${paypalProAPIUsername}
type yak_paypal_api_password ${paypalProAPIPassword}
type yak_paypal_api_signature ${paypalProAPICertificate}
select yak_paypal_pro_return_url label=Thanks for your order
select yak_paypal_pro_error_url label=Error
clickAndWait options_update5
clickAndWait link=Visit Site