Guest User

Untitled

a guest
Jan 7th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. *** Settings ***
  2.  
  3. Resource ../../PageObjects/Forms.robot
  4. Resource ../../../Common/PaymentInfo.robot
  5.  
  6. *** Variables ***
  7. &{ach_cc} cc=abc qa=12493 staging=22793 prod=38308
  8. &{cc_only} cc=efg qa=12602 staging=22794 prod=38309
  9. &{cc_intl} cc=xyz qa=12602 staging=22794 prod=38339
  10.  
  11. *** Test Cases ***
  12.  
  13. Verify Registering With A New Card In A CC and ACH Env
  14. [Template] Register Using a New Credit Card
  15. [Tags] TestRailID=XXX Smoke Reg
  16. ${ach_cc} ${paymentInfo} ${visaCardInfo}
  17. ${ach_cc} ${paymentInfo} ${masterCardInfo}
  18. #etc
  19.  
  20. Register Using a New Credit Card
  21. [Arguments] ${type} ${paymentInfo} ${card}
  22. Common.Begin Web Test ${type.cc}
  23. Go To Registration Form ${type.${ENV}}
  24. Select Individual
  25. Enter CC Name ${paymentInfo}
  26. Enter CC Payment Information ${card}
  27. Common.End Web Test
  28.  
  29. Resolving variable '${type.cc}' failed: AttributeError: 'unicode' object has no attribute 'cc'
Add Comment
Please, Sign In to add comment