在robotframework中将base64解码为utf8

时间:2019-04-22 07:25:59

标签: robotframework

我想在robotframework中将base64解码为utf8。

*** Settings ***
Library         Selenium2Library
Library         BuiltIn
Library         String
Library         OperatingSystem

Resource        ..\\..\\Keywords\\base64.py

***Variables***
${Base64_text}           i14LmIIOC4iOC4s+C4geC4seC4lCAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgMTgg4Lit4Liy4LiE4Liy4Lij4LiX4Lij4Li54

*** Test Cases ***
Read Base64

   ${Base64}   Decode Bytes To String   ${Base64}
   LOG ${Base64}

0 个答案:

没有答案