SendEmailVerificationCodeAsync.robot 817 B

123456789101112131415161718192021
  1. *** Settings ***
  2. Library CustomLibrary
  3. Resource ../../../Utils/HttpClient.robot
  4. Resource ../../../CommonConfig/Config.robot
  5. *** Variables ***
  6. ${sendEmailVerificationCodeAsyncUrl} ILoginService
  7. *** Keywords ***
  8. SendEmailVerificationCodeAsyncPost
  9. [Arguments] ${emailaddress} ${languageCode}
  10. ${param} Create Dictionary
  11. Set To Dictionary ${param} EmailAddress ${emailaddress}
  12. Set To Dictionary ${param} LanguageCode ${languageCode}
  13. ${body} Generate Params SendEmailVerificationCodeAsync ${param}
  14. Log ${body}
  15. Log ---开始断言验证---
  16. ${response} PostRequest ${host} ${sendEmailVerificationCodeAsyncUrl} ${body}
  17. ${res} Response Analysis ${response}
  18. Log ${res}
  19. [Return] ${res}